<html><head><meta charset="UTF-8" /><script>var $gwt_version = "2.4.0";var $wnd = parent;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = '53C7B816F61FEDCD45F2E8CA19762E8A';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null,$sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'chess',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});</script></head><body><script><!--
function q(){}
function u(){}
function p(){}
function y(){}
function x(){}
function w(){}
function v(){}
function ks(){}
function kb(){}
function jb(){}
function ib(){}
function Nb(){}
function Mb(){}
function Lb(){}
function Kb(){}
function Jb(){}
function ic(){}
function kc(){}
function oc(){}
function rc(){}
function vc(){}
function Cc(){}
function Uc(){}
function Tc(){}
function Wc(){}
function Zc(){}
function Yc(){}
function _c(){}
function $c(){}
function ad(){}
function dd(){}
function fd(){}
function jd(){}
function pd(){}
function qd(){}
function xd(){}
function zd(){}
function Fd(){}
function Jd(){}
function Pd(){}
function Id(){}
function Sd(){}
function Rd(){}
function Yd(){}
function oe(){}
function ee(){}
function ue(){}
function xe(){}
function Ge(){}
function Je(){}
function He(){}
function Hf(){}
function mf(){}
function lf(){}
function xf(){}
function zf(){}
function Bf(){}
function Df(){}
function Ff(){}
function Sf(){}
function Uf(){}
function Wf(){}
function Yf(){}
function $f(){}
function ag(){}
function cg(){}
function eg(){}
function gg(){}
function rg(){}
function qg(){}
function Ag(){}
function tg(){}
function Fg(){}
function Eg(){}
function Dg(){}
function Og(){}
function Ng(){}
function Mg(){}
function Tg(){}
function Vg(){}
function Ug(){}
function bh(){}
function ih(){}
function eh(){}
function ph(){}
function lh(){}
function sh(){}
function xh(){}
function Bh(){}
function wh(){}
function Ih(){}
function Eh(){}
function Ph(){}
function Lh(){}
function Wh(){}
function Sh(){}
function _h(){}
function Zh(){}
function di(){}
function ji(){}
function ii(){}
function hi(){}
function ui(){}
function ti(){}
function wi(){}
function vi(){}
function Bi(){}
function Ii(){}
function Hi(){}
function Xj(){}
function Wj(){}
function $j(){}
function dk(){}
function ik(){}
function uk(){}
function Pk(){}
function Vk(){}
function Vl(){}
function ml(){}
function sl(){}
function xl(){}
function wl(){}
function vl(){}
function _l(){}
function am(){}
function dm(){}
function cm(){}
function fm(){}
function km(){}
function jm(){}
function vm(){}
function um(){}
function Sm(){}
function Rm(){}
function Qm(){}
function $m(){}
function en(){}
function jn(){}
function on(){}
function xn(){}
function wn(){}
function Bn(){}
function In(){}
function Tn(){}
function Sn(){}
function Wn(){}
function Vn(){}
function Xn(){}
function _n(){}
function fo(){}
function no(){}
function yo(){}
function wo(){}
function Do(){}
function Co(){}
function Eo(){}
function Go(){}
function Jo(){}
function Io(){}
function Mo(){}
function Oo(){}
function Po(){}
function Ro(){}
function Uo(){}
function Xo(){}
function ip(){}
function lp(){}
function Ep(){}
function Ip(){}
function Lp(){}
function Rp(){}
function Qp(){}
function lq(){}
function kq(){}
function tq(){}
function yq(){}
function xq(){}
function Fq(){}
function Kq(){}
function Vq(){}
function Vr(){}
function ar(){}
function dr(){}
function jr(){}
function nr(){}
function Or(){}
function Nr(){}
function Sr(){}
function cs(){}
function hs(){}
function mp(a){}
function jp(){De()}
function Jp(){De()}
function cd(){De()}
function Ho(){De()}
function No(){De()}
function Qo(){De()}
function So(){De()}
function Vo(){De()}
function is(){De()}
function Td(a){De()}
function Ud(a){De()}
function To(a){De()}
function Wo(a){De()}
function kp(a){De()}
function Kp(a){De()}
function Sk(){Rk()}
function B(a,b){a.p=b}
function ld(a,b){a.b=b}
function md(a,b){a.c=b}
function nd(a,b){a.d=b}
function od(a,b){a.e=b}
function yf(){this.b=0}
function Tf(){this.b=0}
function Af(){this.b=1}
function Vf(){this.b=1}
function Cf(){this.b=2}
function Xf(){this.b=2}
function Ef(){this.b=3}
function Zf(){this.b=3}
function Gf(){this.b=4}
function _f(){this.b=4}
function bg(){this.b=5}
function dg(){this.b=6}
function fg(){this.b=7}
function hg(){this.b=8}
function uc(a){this.b=a}
function ve(a){this.b=a}
function ye(a){this.b=a}
function om(a){this.p=a}
function hn(a){this.b=a}
function mn(a){this.c=a}
function qo(a){this.c=a}
function Zo(a){this.b=a}
function pq(a){this.b=a}
function Bq(a){this.b=a}
function Zq(a){this.e=a}
function kr(a){this.b=a}
function vh(){this.b={}}
function jk(){this.b=ts}
function Ig(a,b){a.b=b}
function Gg(a,b){a.e=b}
function Jg(a,b){a.c=b}
function Cm(a,b){a.e=b}
function qn(a,b){a.b=b}
function Ie(a,b){a.b+=b}
function ah(a,b){Kc(b,a)}
function hh(a,b){Lc(b,a)}
function oh(a,b){Mc(b,a)}
function Ah(a,b){Nc(b,a)}
function Hh(a,b){Nc(b,a)}
function Oh(a,b){Oc(b,a)}
function Vh(a,b){Pc(b,a)}
function F(a,b){Gk(a.p,b)}
function xb(a,b){or(a.g,b)}
function Gi(a,b){this.b=b}
function E(a,b){a.p[ss]=b}
function uh(a,b,c){a.b[b]=c}
function D(a,b,c){H(a.p,b,c)}
function Ll(a,b){Cl(a,b,a.p)}
function go(a,b){io(a,b,a.d)}
function pe(a){return a.T()}
function zn(){zn=ks;vo()}
function pn(){pn=ks;new Ur}
function mb(){mb=ks;lb=new Ur}
function Vb(){Vb=ks;Ub=new Vm}
function vd(){vd=ks;ud=new Pd}
function vg(){vg=ks;ug=new Ag}
function Rk(){Rk=ks;Qk=new Rg}
function ge(){ge=ks;fe=new oe}
function Mr(){Mr=ks;Lr=new Or}
function Zr(){this.b=new Ur}
function ql(){this.c=new wr}
function Gp(){this.b=new Je}
function A(){throw new Jp}
function Rg(){this.d=++Pg}
function Ur(){Xp(this)}
function _j(a){ck(a);this.b=a}
function Ek(a){Ak=a;Zk();al=a}
function yi(a){xi.call(this,a)}
function Zl(a){yi.call(this,a)}
function $k(a,b){a.__listener=b}
function Fk(a,b,c){a.style[b]=c}
function th(a,b){return a.b[b]}
function nf(a,b){return a.b-b.b}
function fp(a,b){return a>b?a:b}
function gp(a,b){return a<b?a:b}
function ep(a){return a<0?-a:a}
function _p(b,a){return b.f[Pt+a]}
function nn(a,b){return a.rows[b]}
function Xr(a,b){return Yp(a.b,b)}
function J(a,b){!!a.n&&fi(a.n,b)}
function Dr(a,b,c){a.splice(b,c)}
function Ck(a,b,c){hl(a,En(b),c)}
function Km(a,b){Bm(a,b);--a.c}
function rd(a,b){this.b=a;this.c=b}
function tl(a,b){this.b=a;this.c=b}
function Cn(a,b){this.b=a;this.c=b}
function fr(a,b){this.b=a;this.c=b}
function ds(a,b){this.b=a;this.c=b}
function Gq(a,b){this.c=a;this.b=b}
function Ve(a,b){a.dispatchEvent(b)}
function Kr(a){Ir(a,0,a.length)}
function Wq(a){return a.c<a.e.gb()}
function ke(a){return !!a.b||!!a.g}
function hp(a){return Math.round(a)}
function bq(b,a){return Pt+a in b.f}
function aj(a){return a==null?null:a}
function pc(a){a.g=null;a.f=null}
function Wk(){gi.call(this,null)}
function Yn(){Nn.call(this,$doc.body)}
function Vd(a){De();this.b=a;Ce(this)}
function gi(a){this.b=new si;this.c=a}
function Fp(a,b){Ie(a.b,b);return a}
function ne(a,b){a.d=qe(a.d,[b,false])}
function Xe(a,b){a.textContent=b||ts}
function Re(b,a){b.innerHTML=a||ts}
function Wi(a,b){return a.cM&&a.cM[b]}
function Vi(a,b){return a.cM&&!!a.cM[b]}
function _i(a){return a.tM==ks||Vi(a,1)}
function _k(a){return !$i(a)&&Zi(a,37)}
function de(a){return a.$H||(a.$H=++$d)}
function Ke(b,a){return b.appendChild(a)}
function Me(b,a){return b.removeChild(a)}
function np(b,a){return b.charCodeAt(a)}
function gn(a,b,c){return fn(a.b.d,b,c)}
function Yr(a,b){return gq(a.b,b)!=null}
function Er(a,b,c,d){a.splice(b,c,d)}
function Nq(a,b){(a<0||a>=b)&&Qq(a,b)}
function Ap(){Ap=ks;xp={};zp={}}
function Nk(){if(!Jk){ul();Jk=true}}
function Nn(a){Pl.call(this,a);K(this)}
function Yl(){Yl=ks;Wl=new am;Xl=new dm}
function zh(){zh=ks;yh=new Sg(Xs,new Bh)}
function gh(){gh=ks;fh=new Sg(Vs,new ih)}
function nh(){nh=ks;mh=new Sg(Ws,new ph)}
function Gh(){Gh=ks;Fh=new Sg(Ys,new Ih)}
function Nh(){Nh=ks;Mh=new Sg(Zs,new Ph)}
function Uh(){Uh=ks;Th=new Sg($s,new Wh)}
function _g(){_g=ks;$g=new Sg(Us,new bh)}
function si(){this.e=new Ur;this.d=false}
function bo(a){this.c=a;this.b=!!this.c.b}
function pi(a,b){var c;c=qi(a,b);return c}
function mi(a,b,c){var d;d=oi(a,b);d.eb(c)}
function _d(a,b,c){return a.apply(b,c);var d}
function Zj(c,a,b){return a.replace(c,b)}
function Zi(a,b){return a!=null&&Vi(a,b)}
function Oe(b,a){return parseInt(b[a])||0}
function gf(b,a){return b.getElementById(a)}
function wp(a){return String.fromCharCode(a)}
function Hp(){return (new Date).getTime()}
function Qd(){return (new Date).getTime()}
function Le(c,a,b){return c.insertBefore(a,b)}
function fn(a,b,c){return a.rows[b].cells[c]}
function ei(a,b,c){return new ui(li(a.b,b,c))}
function ki(a,b){!a.b&&(a.b=new wr);or(a.b,b)}
function bi(a){var b;if($h){b=new _h;fi(a,b)}}
function Tm(a){this.p=a;this.b=new im(this.p)}
function jc(a,b,c){this.b=a;this.d=b;this.c=c}
function Fo(a,b,c){this.b=a;this.d=b;this.c=c}
function Pl(a){this.b=new lo(this);this.p=a}
function Zk(){if(!Xk){gl();kl();Xk=true}}
function or(a,b){Pi(a.b,a.c++,b);return true}
function qr(a,b){Nq(b,a.c);return a.b[b]}
function rl(a){var b=a[At];return b==null?-1:b}
function me(a,b){a.b=qe(a.b,[b,false]);le(a)}
function Hc(a){Dk(a.b.p);N(a.b);a.e=1;pc(a.c)}
function t(a){a.b=new gb;Ll(Qn(os),a.b);fb(a.b)}
function Wm(a){Tm.call(this,a,pp(Lt,a.tagName))}
function sm(){om.call(this,Bo(zo?zo:(zo=Ao())))}
function wr(){this.b=Li(Ej,{58:1,66:1},0,0,0)}
function qc(a){this.k=new wr;this.e=a;this.b=a.p}
function qp(b,a){return b.substr(a,b.length-a)}
function Yo(a,b){return a.b<b.b?-1:a.b>b.b?1:0}
function _e(a){return af(kf(a.ownerDocument),a)}
function Ze(a){return $e(kf(a.ownerDocument),a)}
function gq(a,b){return !b?iq(a):hq(a,b,~~de(b))}
function Mi(a,b,c,d,e,f){return Ni(a,b,c,d,0,e,f)}
function On(a){Mn();try{a.B()}finally{Yr(Ln,a)}}
function Ee(){try{null.a()}catch(a){return a}}
function Ko(a,b){var c;c=new Jo;c.b=a+b;return c}
function Lo(a,b){var c;c=new Jo;c.b=a+b;return c}
function qe(a,b){!a&&(a=[]);a[a.length]=b;return a}
function Dm(a,b){!!a.f&&(b.b=a.f.b);a.f=b;kn(a.f)}
function El(a,b){if(b<0||b>a.b.d){throw new Vo}}
function Lk(a){Nk();return Mk($h?$h:($h=new Rg),a)}
function Xd(a){var b;return b=a,_i(b)?b.hC():de(b)}
function $i(a){return a!=null&&a.tM!=ks&&!Vi(a,1)}
function Sp(a){var b;b=new pq(a);return new fr(a,b)}
function Wr(a,b){var c;c=cq(a.b,b,a);return c==null}
function yg(a,b){var c;c=wg(b);Ke(xg(a),c);return c}
function Be(a,b){a.length>=b&&a.splice(0,b);return a}
function cj(a){if(a!=null){throw new No}return null}
function Dp(){if(yp==256){xp=zp;zp={};yp=0}++yp}
function ng(){ng=ks;kg=[];lg=[];mg=[];ig=new rg}
function Si(){Si=ks;Qi=[];Ri=[];Ti(new Ii,Qi,Ri)}
function Mn(){Mn=ks;Jn=new Tn;Kn=new Ur;Ln=new Zr}
function Mk(a,b){return ei((!Kk&&(Kk=new Wk),Kk),a,b)}
function Pe(b,a){return b[a]==null?null:String(b[a])}
function Mj(a,b,c){return _=new Xj,_.l=a,_.m=b,_.h=c,_}
function Wd(a,b){var c;return c=a,_i(c)?c.eQ(b):c===b}
function wb(a,b,c){var d;d=sc(a.f,b,c);return d?d:a.c}
function er(a){var b;b=new uq(a.c.b);return new kr(b)}
function Kj(a){if(Zi(a,69)){return a}return new Vd(a)}
function ck(a){if(a==null){throw new kp('css is null')}}
function nm(){om.call(this,$doc.createElement(Dt))}
function bn(a){this.c=a;this.d=this.c.i.c;_m(this)}
function Xp(a){a.b=[];a.f={};a.d=false;a.c=null;a.e=0}
function pr(a){a.b=Li(Ej,{58:1,66:1},0,0,0);a.c=0}
function dp(){dp=ks;cp=Li(Dj,{58:1,64:1,66:1},63,256,0)}
function pg(){ng();if(!jg){jg=true;ne((ge(),fe),ig)}}
function Cl(a,b,c){N(b);go(a.b,b);Ke(c,En(b.p));P(b,a)}
function ym(a,b,c,d){var e;e=gn(a.e,b,c);zm(a,e,d);return e}
function Li(a,b,c,d,e){var f;f=Ki(e,d);Oi(a,b,c,f);return f}
function Xi(a,b){if(a!=null&&!Wi(a,b)){throw new No}return a}
function Qq(a,b){throw new Wo('Index: '+a+', Size: '+b)}
function Tr(a,b){return aj(a)===aj(b)||a!=null&&Wd(a,b)}
function js(a,b){return aj(a)===aj(b)||a!=null&&Wd(a,b)}
function En(a){return a.__gwt_resolve?a.__gwt_resolve():a}
function ed(a){this.j=a;this.e=Oe(a.p,Hs);this.d=Oe(a.p,Is)}
function Q(a,b){a.k==-1?ll(a.p,b|(a.p.__eventBits||0)):(a.k|=b)}
function Ql(a){a.style[Ps]=ts;a.style[Qs]=ts;a.style[Bt]=ts}
function gm(a){var b;b=a.d?Se(a.b):a.b;return b.textContent}
function oo(a){if(a.b>=a.c.d){throw new is}return a.c.b[++a.b]}
function vk(a){if(a==null){throw new kp('uri is null')}this.b=a}
function br(a){if(a.c<=0){throw new is}return a.b.nb(a.d=--a.c)}
function op(a,b){if(!Zi(b,1)){return false}return String(a)==b}
function sp(a,b){a=String(a);if(a==b){return 0}return a<b?-1:1}
function ko(a,b){var c;c=ho(a,b);if(c==-1){throw new is}jo(a,c)}
function yk(){yk=ks;new RegExp('%5B',dt);new RegExp('%5D',dt)}
function Dk(a){!!Ak&&a==Ak&&(Ak=null);Zk();a===al&&(al=null)}
function Qc(a){C(a.b,0,0);Ml((Mn(),Qn(null)),a.b,0,0);Ek(a.b.p)}
function Pn(){Mn();try{$l(Ln,Jn)}finally{Xp(Ln.b);Xp(Kn)}}
function _m(a){while(++a.b<a.d.c){if(qr(a.d,a.b)!=null){return}}}
function im(a){this.b=a;this.d=false;this.c=zi(a);this.e=this.c}
function ek(a){if(a==null){throw new kp('html is null')}this.b=a}
function Yq(a){if(a.d<0){throw new So}a.e.qb(a.d);a.c=a.d;a.d=-1}
function Ml(a,b,c,d){var e;N(b);e=a.b.d;a.ab(b,c,d);Fl(a,b,a.p,e)}
function rn(a,b,c,d,e){pn();sn.call(this,(yk(),new vk(a)),b,c,d,e)}
function C(a,b,c){b>=0&&Fk(a.p,ps,b+qs);c>=0&&Fk(a.p,rs,c+qs)}
function wd(a,b,c){vd();a.style[Ps]=b+(Rf(),qs);a.style[Qs]=c+qs}
function xc(a,b){var c,d;c=a.b.I().p;d=b.b.I().p;return wc(a,c,d)}
function zg(a,b){var c;c=wg(b);Le(xg(a),c,a.b.firstChild);return c}
function ur(a,b,c){var d;d=(Nq(b,a.c),a.b[b]);Pi(a.b,b,c);return d}
function Oi(a,b,c,d){Si();Ui(d,Qi,Ri);d.aC=a;d.cM=b;d.qI=c;return d}
function eq(a,b){var c;c=a.c;a.c=b;if(!a.d){a.d=true;++a.e}return c}
function xm(a,b){var c;c=a.c;if(b>=c||b<0){throw new Wo(Ht+b+It+c)}}
function Bg(a,b){return a.clientX-Ze(b)+df(b)+hf(b.ownerDocument)}
function ef(a,b){return a===b||!!(a.compareDocumentPosition(b)&16)}
function kf(a){return op(a.compatMode,Ts)?a.documentElement:a.body}
function bj(a){return ~~Math.max(Math.min(a,2147483647),-2147483648)}
function Fn(a){return function(){this.__gwt_resolve=Gn;return a.u()}}
function ao(a){if(!a.b||!a.c.b){throw new is}a.b=false;return a.c.b}
function iq(a){var b;b=a.c;a.c=null;if(a.d){a.d=false;--a.e}return b}
function Ji(a,b){var c,d;c=a;d=Ki(0,b);Oi(c.aC,c.cM,c.qI,d);return d}
function yl(a){var b;b=new qo(a.b);while(b.b<b.c.d-1){oo(b);po(b)}}
function Yg(a){var b;b=a.c;if(b){return Wg(a,b)}return a.b.clientX||0}
function Zg(a){var b;b=a.c;if(b){return Xg(a,b)}return a.b.clientY||0}
function Xq(a){if(a.c>=a.e.gb()){throw new is}return a.e.nb(a.d=a.c++)}
function Yi(a){if(a!=null&&(a.tM==ks||Vi(a,1))){throw new No}return a}
function ae(){if(Zd++==0){he((ge(),fe));return true}return false}
function Hn(b){try{return !!b&&!!b.__gwt_resolve}catch(a){return false}}
function hf(a){return df(op(a.compatMode,Ts)?a.documentElement:a.body)}
function po(a){if(a.b<0||a.b>=a.c.d){throw new So}a.c.c.Y(a.c.b[a.b--])}
function Fc(a,b,c){a.c.i=b;a.c.j=c;a.c.c=b-a.f;a.c.d=c-a.g;a.c.e.H()}
function Fl(a,b,c,d){d=Dl(a,b,d);N(b);io(a.b,b,d);Ck(c,b.p,d);P(b,a)}
function Dl(a,b,c){var d;El(a,c);if(b.o==a){d=ho(a.b,b);d<c&&--c}return c}
function sr(a,b){var c;c=(Nq(b,a.c),a.b[b]);Dr(a.b,b,1);--a.c;return c}
function rr(a,b,c){for(;c<a.c;++c){if(js(b,a.b[c])){return c}}return -1}
function Ok(){var a;if(Jk){a=new Sk;!!Kk&&fi(Kk,a);return null}return null}
function Te(a){var b=a.parentNode;(!b||b.nodeType!=1)&&(b=null);return b}
function Gn(){throw 'A PotentialElement cannot be resolved twice.'}
function vo(){vo=ks;to=(yk(),new vk($moduleBase+'clear.cache.gif'))}
function ll(a,b){Zk();jl(a,b);b&131072&&a.addEventListener(vt,el,false)}
function fc(a,b){Vb();$b.call(this,b);this.c=115;this.d=115;this.b=a}
function Ui(a,b,c){Si();for(var d=0,e=b.length;d<e;++d){a[b[d]]=c[d]}}
function Ti(a,b,c){var d=0,e;for(var f in a){if(e=a[f]){b[d]=f;c[d]=e;++d}}}
function fq(e,a,b){var c,d=e.f;a=Pt+a;a in d?(c=d[a]):++e.e;d[a]=b;return c}
function ho(a,b){var c;for(c=0;c<a.d;++c){if(a.b[c]==b){return c}}return -1}
function tr(a,b){var c;c=rr(a,b,0);if(c==-1){return false}sr(a,c);return true}
function nl(a,b){var c;c=rl(b);if(c<0){return null}return Xi(qr(a.c,c),52)}
function pl(a,b){var c;c=rl(b);b[At]=null;ur(a.c,c,null);a.b=new tl(c,a.b)}
function cr(a,b){var c;this.b=a;this.e=a;c=a.gb();(b<0||b>c)&&Qq(b,c);this.c=b}
function Sg(a,b){Rg.call(this);this.b=b;!Hg&&(Hg=new vh);uh(Hg,a,this);this.c=a}
function Cd(a,b){Bd(this,a);Ad(this,b);this.b=this.f-this.c;this.e=this.g-this.d}
function sn(a,b,c,d,e){qn(this,new An(this,a,b,c,d,e));this.p[ss]='gwt-Image'}
function Xc(a,b,c){this.b=b;!!c&&I(c,a,(Uh(),Uh(),Th));!!c&&I(c,a,(_g(),_g(),$g))}
function Zp(a,b){return b==null?a.c:Zi(b,1)?_p(a,Xi(b,1)):$p(a,b,~~Xd(b))}
function Yp(a,b){return b==null?a.d:Zi(b,1)?bq(a,Xi(b,1)):aq(a,b,~~Xd(b))}
function Cg(a,b){return a.clientY-_e(b)+(b.scrollTop||0)+jf(b.ownerDocument)}
function pb(a,b){if(tr(a.r.k,b)){H(b.p,Ds,false)}else{pr(a.r.k);or(a.r.k,b)}}
function Bm(a,b){var c,d;d=a.b;for(c=0;c<d;++c){ym(a,b,c,false)}Me(a.d,nn(a.d,b))}
function yn(a,b){var c;c=Pe(b.p,Nt);op(st,c)&&(a.b=new Cn(a,b),me((ge(),fe),a.b))}
function Wg(a,b){var c;c=a.b;return (c.clientX||0)-Ze(b)+df(b)+hf(b.ownerDocument)}
function We(a){var b=a.button;if(b==1){return 4}else if(b==2){return 2}return 1}
function Se(a){var b=a.firstChild;while(b&&b.nodeType!=1)b=b.nextSibling;return b}
function he(a){var b,c;if(a.c){c=null;do{b=a.c;a.c=null;c=se(b,c)}while(a.c);a.c=c}}
function ie(a){var b,c;if(a.d){c=null;do{b=a.d;a.d=null;c=se(b,c)}while(a.d);a.d=c}}
function Wb(a){var b;b=new Cd(a.f,null);a.j=b.b+(vd(),Ld(a.f.p));a.k=b.e+Md(a.f.p)}
function uq(a){var b;b=new wr;a.d&&or(b,new Bq(a));Wp(a,b);Vp(a,b);this.b=new Zq(b)}
function an(a){var b;if(a.b>=a.d.c){throw new is}b=Xi(qr(a.d,a.b),54);_m(a);return b}
function kd(a,b){if(a.d<b.c||a.c>b.d||a.b<b.e||a.e>b.b){return false}return true}
function gd(a){Vb();$b.call(this,a);H(a.p,'dragdrop-boundary',true);this.b=true}
function $b(a){this.n=a;H(a.p,'dragdrop-dropTarget',true);this.e=new wr;this.f=a}
function jf(a){return (op(a.compatMode,Ts)?a.documentElement:a.body).scrollTop||0}
function Gd(c,a,b){return c.S(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style[b]}
function cq(a,b,c){return b==null?eq(a,c):Zi(b,1)?fq(a,Xi(b,1),c):dq(a,b,c,~~Xd(b))}
function hm(a,b,c){a.d=false;c?Re(a.b,b):Xe(a.b,b);if(a.e!=a.c){a.e=a.c;Ai(a.b,a.c)}}
function ub(a){var b;b=new Cd(a.r.b,null);a.d=b.b+(vd(),Ld(a.r.b.p));a.e=b.e+Md(a.r.b.p)}
function je(a){var b;if(a.b){b=a.b;a.b=null;!a.g&&(a.g=[]);se(b,a.g)}!!a.g&&(a.g=re(a.g))}
function xg(a){var b;if(!a.b){b=$doc.getElementsByTagName('head')[0];a.b=b}return a.b}
function Lj(a){var b,c,d;b=a&4194303;c=a>>22&4194303;d=a<0?1048575:0;return Mj(b,c,d)}
function Ir(a,b,c){var d,e,f;d=(e=a,f=e.slice(b,c),Oi(e.aC,e.cM,e.qI,f),f);Jr(d,a,b,c,-b)}
function ce(a,b,c){var d;d=ae();try{return _d(a,b,c)}finally{d&&ie((ge(),fe));--Zd}}
function Bk(a,b,c){var d;d=zk;zk=a;b==Ak&&Yk(a.type)==8192&&(Ak=null);c.A(a);zk=d}
function z(a,b){var c=a.parentNode;if(!c){return}c.insertBefore(b,a);c.removeChild(a)}
function pp(b,a){if(a==null)return false;return b==a||b.toLowerCase()==a.toLowerCase()}
function be(b){return function(){try{return ce(b,this,arguments)}catch(a){throw a}}}
function wg(a){var b;b=$doc.createElement('style');b['language']='text/css';Xe(b,a);return b}
function Ym(a){Wm.call(this,$doc.createElement(Dt));this.p[ss]='gwt-HTML';hm(this.b,a,true)}
function Vm(){Tm.call(this,$doc.createElement(Dt));this.p[ss]='gwt-Label';hm(this.b,'x',false)}
function O(a,b){a.j&&(a.p.__listener=null,undefined);!!a.p&&z(a.p,b);a.p=b;a.j&&$k(a.p,a)}
function ol(a,b){var c;if(!a.b){c=a.c.c;or(a.c,b)}else{c=a.b.b;ur(a.c,c,b);a.b=a.b.c}b.p[At]=c}
function Gc(a,b){var c;c=Xi(Zp(a.d,Dc),7).b;!!b.b.ctrlKey||!!b.b.metaKey||nb(a.c.e);pb(a.c.e,c)}
function Xg(a,b){var c;c=a.b;return (c.clientY||0)-_e(b)+(b.scrollTop||0)+jf(b.ownerDocument)}
function lm(a,b){if(a.b!=b){return false}try{P(b,null)}finally{Me(a.p,b.p);a.b=null}return true}
function Mp(a,b){var c;while(a.cb()){c=a.db();if(b==null?c==null:Wd(b,c)){return a}}return null}
function Rc(a){a.c.n=null;a.c.e.E();Qc(a);C(a.b,Oe((Mn(),Qn(null)).p,Hs),Oe(Qn(null).p,Is));a.e=2}
function Em(a,b,c,d){var e;Im(a,b,c);e=ym(a,b,c,true);if(d){N(d);ol(a.i,d);Ke(e,En(d.p));P(d,a)}}
function mm(a,b){if(b==a.b){return}!!b&&N(b);!!a.b&&lm(a,a.b);a.b=b;if(b){Ke(a.p,En(a.b.p));P(b,a)}}
function le(a){if(!a.j){a.j=true;!a.f&&(a.f=new ve(a));te(a.f,1);!a.i&&(a.i=new ye(a));te(a.i,50)}}
function Yb(a){var b,c;for(c=new Zq(a.e);c.c<c.e.gb();){b=Xi(Xq(c),10);N(b.f);Ml(a.f,b.j,b.b,b.c)}}
function nb(a){var b,c;for(b=new Zq(a.r.k);b.c<b.e.gb();){c=Xi(Xq(b),54);H(c.p,Ds,false);Yq(b)}}
function Vj(){Vj=ks;Sj=Mj(4194303,4194303,524287);Tj=Mj(0,0,524288);Pj(1);Pj(2);Uj=Pj(0)}
function lo(a){this.c=a;this.b=Li(Cj,{26:1,29:1,38:1,43:1,49:1,53:1,55:1,58:1,66:1},54,4,0)}
function L(a,b){var c;switch(Yk(b.type)){case 16:case 32:c=Ye(b);if(!!c&&ef(a.p,c)){return}}Kg(b,a,a.p)}
function ob(a,b){Jc(a.t,b,b);H(b.p,'dragdrop-draggable',true);H(b.p,'dragdrop-handle',true);cq(lb,b,b)}
function Ad(a,b){if(!b||b==(Mn(),Qn(null))){a.c=0;a.d=0}else{a.c=Ze(b.p)+(vd(),Ld(b.p));a.d=_e(b.p)+Md(b.p)}}
function gwtOnLoad(b,c,d,e){$moduleName=c;$moduleBase=d;if(b)try{ns(Jj)()}catch(a){b(c)}else{ns(Jj)()}}
function Ol(){Pl.call(this,$doc.createElement(Dt));this.p.style[Bt]='relative';this.p.style[Fs]=Et}
function Od(b){try{return b.clientWidth}catch(a){throw new Error('getClientWidth exception:\n'+a)}}
function Nd(b){try{return b.clientHeight}catch(a){throw new Error('getClientHeight exception:\n'+a)}}
function Kd(){try{$wnd.getSelection().removeAllRanges()}catch(a){throw new Error('unselect exception:\n'+a)}}
function te(b,c){ge();$wnd.setTimeout(function(){var a=ns(pe)(b);a&&$wnd.setTimeout(arguments.callee,c)},c)}
function Ao(){return function(a){var b=this.parentNode;b.onfocus&&$wnd.setTimeout(function(){b.focus()},0)}}
function Wp(e,a){var b=e.f;for(var c in b){if(c.charCodeAt(0)==58){var d=new Gq(e,c.substring(1));a.eb(d)}}}
function Ye(b){var c=b.relatedTarget;if(!c){return null}try{var d=c.nodeName;return c}catch(a){return null}}
function zi(a){var b;b=Pe(a,_s);if(pp(Ss,b)){return Fi(),Ei}else if(pp(at,b)){return Fi(),Di}return Fi(),Ci}
function Gl(a,b){var c;if(b.o!=a){return false}try{P(b,null)}finally{c=b.p;Me(Te(c),c);ko(a.b,b)}return true}
function Am(a,b){var c;if(b.o!=a){return false}try{P(b,null)}finally{c=b.p;Me(Te(c),c);pl(a.i,c)}return true}
function jo(a,b){var c;if(b<0||b>=a.d){throw new Vo}--a.d;for(c=b;c<a.d;++c){Pi(a.b,c,a.b[c+1])}Pi(a.b,a.d,null)}
function Gk(a,b){var c;Zk();op(it,b)&&(c=ff(),c!=-1&&c<=1009000)?(jt==jt&&(a.ondragexit=dl),undefined):il(a,b)}
function Nl(a,b,c){var d;d=a.p;if(b==-1&&c==-1){Ql(d)}else{d.style[Bt]=Ct;d.style[Ps]=b+qs;d.style[Qs]=c+qs}}
function zb(a){var b,c,d;for(d=new Zq(a.r.k);d.c<d.e.gb();){c=Xi(Xq(d),54);b=Xi(Zp(a.o,c),8);c.p.style[Js]=b.c}}
function Cp(a){Ap();var b=Pt+a;var c=zp[b];if(c!=null){return c}c=xp[b];c==null&&(c=Bp(a));Dp();return zp[b]=c}
function bp(a){var b,c;if(a>-129&&a<128){b=a+128;c=(dp(),cp)[b];!c&&(c=cp[b]=new Zo(a));return c}return new Zo(a)}
function Fe(a){var b,c,d;d=a&&a.stack?a.stack.split('\n'):[];for(b=0,c=d.length;b<c;++b){d[b]=Ae(d[b])}return d}
function oi(a,b){var c,d;d=Xi(Zp(a.e,b),72);if(!d){d=new Ur;cq(a.e,b,d)}c=Xi(d.c,71);if(!c){c=new wr;eq(d,c)}return c}
function qi(a,b){var c,d;d=Xi(Zp(a.e,b),72);if(!d){return Mr(),Mr(),Lr}c=Xi(d.c,71);if(!c){return Mr(),Mr(),Lr}return c}
function oq(a,b){var c,d,e;if(Zi(b,73)){c=Xi(b,73);d=c.jb();if(Yp(a.b,d)){e=Zp(a.b,d);return Tr(c.kb(),e)}}return false}
function Rj(a,b){var c,d,e;c=a.l-b.l;d=a.m-b.m+(c>>22);e=a.h-b.h+(d>>22);return Mj(c&4194303,d&4194303,e&1048575)}
function Ib(a){mb();var b,c;c=~~((a.j-_e(Qn(os).p))/115);b=~~((a.i-Ze(Qn(os).p))/115);return Oi(vj,{58:1},-1,[c,b])}
function Ic(b,c,d){var a,e;Fc(b,c,d);try{b.c.e.F()}catch(a){a=Kj(a);if(Zi(a,9)){e=a;b.c.n=e}else throw a}b.c.e.D()}
function ri(a){var b,c;if(a.b){try{for(c=new Zq(a.b);c.c<c.e.gb();){b=Xi(Xq(c),56);mi(b.b,b.d,b.c)}}finally{a.b=null}}}
function kn(a){if(!a.b){a.b=$doc.createElement('colgroup');Ck(a.c.g,a.b,0);Ke(a.b,En($doc.createElement(Mt)))}}
function Bd(a,b){if(!b||b==(Mn(),Qn(null))){a.f=0;a.g=0}else{a.f=Ze(b.p)-df(b.p);a.g=_e(b.p)-(b.p.scrollTop||0)}}
function wf(){wf=ks;uf=new yf;sf=new Af;rf=new Cf;tf=new Ef;vf=new Gf;Oi(yj,{58:1,66:1},13,[uf,sf,rf,tf,vf])}
function Fi(){Fi=ks;Ei=new Gi('RTL',0);Di=new Gi('LTR',1);Ci=new Gi('DEFAULT',2);Oi(Aj,{58:1,66:1},30,[Ei,Di,Ci])}
function Hr(a,b,c,d,e,f,g){var i;i=c;while(f<g){i>=d||b<c&&Xi(a[b],60).cT(a[i])<=0?Pi(e,f++,a[b++]):Pi(e,f++,a[i++])}}
function Gr(a,b,c){var d,e,f;for(d=b+1;d<c;++d){for(e=d;e>b&&Xi(a[e-1],60).cT(a[e])>0;--e){f=a[e];Pi(a,e,a[e-1]);Pi(a,e-1,f)}}}
function vr(a,b){var c;b.length<a.c&&(b=Ji(b,a.c));for(c=0;c<a.c;++c){Pi(b,c,a.b[c])}b.length>a.c&&Pi(b,a.c,null);return b}
function zm(a,b,c){var d,e;d=Se(b);e=null;!!d&&(e=Xi(nl(a.i,d),54));if(e){Am(a,e);return true}else{c&&Re(b,ts);return false}}
function Kg(a,b,c){var d,e,f;if(Hg){f=Xi(th(Hg,a.type),16);if(f){d=f.b.b;e=f.b.c;Ig(f.b,a);Jg(f.b,c);J(b,f.b);Ig(f.b,d);Jg(f.b,e)}}}
function Vp(i,a){var b=i.b;for(var c in b){var d=parseInt(c,10);if(c==d){var e=b[d];for(var f=0,g=e.length;f<g;++f){a.eb(e[f])}}}}
function De(){var a,b,c,d;c=Be(Fe(Ee()),2);d=Li(Fj,{58:1,66:1},68,c.length,0);for(a=0,b=d.length;a<b;++a){d[a]=new mp(c[a])}bd(d)}
function bd(a){var b,c,d;c=Li(Fj,{58:1,66:1},68,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d]){throw new jp}c[d]=a[d]}}
function Jm(a,b){if(b<0){throw new Wo('Cannot access a row with a negative index: '+b)}if(b>=a.c){throw new Wo(Ht+b+It+a.c)}}
function Pi(a,b,c){if(c!=null){if(a.qI>0&&!Wi(c,a.qI)){throw new Ho}if(a.qI<0&&(c.tM==ks||Vi(c,1))){throw new Ho}}return a[b]=c}
function wm(a,b,c){var d;xm(a,b);if(c<0){throw new Wo('Column '+c+' must be non-negative: '+c)}d=a.b;if(d<=c){throw new Wo(Ft+c+Gt+a.b)}}
function Im(a,b,c){Jm(a,b);if(c<0){throw new Wo('Cannot access a column with a negative index: '+c)}if(c>=a.b){throw new Wo(Ft+c+Gt+a.b)}}
function cf(a){var b=$wnd.getComputedStyle(a.documentElement,ts);return parseInt(b.marginTop)+parseInt(b.borderTopWidth)}
function bf(a){var b=$wnd.getComputedStyle(a.documentElement,ts);return parseInt(b.marginLeft)+parseInt(b.borderLeftWidth)}
function hl(a,b,c){var d=0,e=a.firstChild,f=null;while(e){if(e.nodeType==1){if(d==c){f=e;break}++d}e=e.nextSibling}a.insertBefore(b,f)}
function Ai(a,b){switch(b.b){case 0:{a[_s]=Ss;break}case 1:{a[_s]=at;break}case 2:{zi(a)!=(Fi(),Ci)&&(a[_s]=ts,undefined);break}}}
function sk(){sk=ks;new jk;nk=new RegExp(ct,dt);ok=new RegExp(et,dt);pk=new RegExp(ft,dt);rk=new RegExp(gt,dt);qk=new RegExp(ht,dt)}
function rp(c){if(c.length==0||c[0]>Rs&&c[c.length-1]>Rs){return c}var a=c.replace(/^(\s*)/,ts);var b=a.replace(/\s*$/,ts);return b}
function aq(i,a,b){var c=i.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.jb();if(i.ib(a,g)){return true}}}return false}
function $p(i,a,b){var c=i.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.jb();if(i.ib(a,g)){return f.kb()}}}return null}
function se(b,c){var a,d,e,f;for(d=0,e=b.length;d<e;++d){f=b[d];try{f[1]?f[0].T()&&(c=qe(c,f)):f[0].P()}catch(a){a=Kj(a);if(!Zi(a,67))throw a}}return c}
function I(a,b,c){var d;d=Yk(c.c);d==-1?F(a,c.c):a.k==-1?ll(a.p,d|(a.p.__eventBits||0)):(a.k|=d);return ei(!a.n?(a.n=new gi(a)):a.n,c,b)}
function Ce(a){var b,c,d,e;d=Fe($i(a.b)?Yi(a.b):null);e=Li(Fj,{58:1,66:1},68,d.length,0);for(b=0,c=e.length;b<c;++b){e[b]=new mp(d[b])}bd(e)}
function Pj(a){var b,c;if(a>-129&&a<128){b=a+128;Nj==null&&(Nj=Li(Bj,{58:1,66:1},31,256,0));c=Nj[b];!c&&(c=Nj[b]=Lj(a));return c}return Lj(a)}
function Ae(a){var b,c,d;d=ts;a=rp(a);b=a.indexOf('(');if(b!=-1){c=a.indexOf('function')==0?8:0;d=rp(a.substr(c,b-c))}return d.length>0?d:'anonymous'}
function Gb(a,b){mb();this.p=b;this.r=new qc(this);this.t=new Sc(this.r);this.g=new wr;this.c=new gd(b);xb(this,this.c);this.f=new uc(this.g);this.b=a}
function Ni(a,b,c,d,e,f,g){var i,j,k,n;k=d[e];j=e==f-1;n=Ki(j?g:0,k);Oi(a[e],b[e],c[e],n);if(!j){++e;for(i=0;i<k;++i){n[i]=Ni(a,b,c,d,e,f,g)}}return n}
function Mm(a,b){if(a.c==b){return}if(b<0){throw new Wo('Cannot set number of rows to '+b)}if(a.c<b){Om(a.d,b-a.c,a.b);a.c=b}else{while(a.c>b){Km(a,a.c-1)}}}
function wc(a,b,c){var d,e;if(b==c){return 0}else{if(ef(b,c)){return -1}else{if(ef(c,b)){return 1}else{d=Te(b);e=Te(c);if(!!d&&!!e){return wc(a,d,e)}return 0}}}}
function Rf(){Rf=ks;Qf=new Tf;Of=new Vf;Jf=new Xf;Kf=new Zf;Pf=new _f;Nf=new bg;Lf=new dg;If=new fg;Mf=new hg;Oi(zj,{58:1,66:1},15,[Qf,Of,Jf,Kf,Pf,Nf,Lf,If,Mf])}
function N(a){if(!a.o){(Mn(),Xr(Ln,a))&&On(a)}else if(Zi(a.o,44)){Xi(a.o,44).Y(a)}else if(a.o){throw new To("This widget's parent does not implement HasWidgets")}}
function Z(a,b){var c;if(a.i){throw new To('Composite.initWidget() may only be called once.')}N(b);c=b.p;a.p=c;Hn(c)&&(c.__gwt_resolve=Fn(a),undefined);a.i=b;P(b,a)}
function M(a){if(!a.y()){throw new To("Should only call onDetach when the widget is attached to the browser's document")}try{a.w()}finally{a.p.__listener=null;a.j=false}}
function Nc(a,b){if(b.b.touches.length!=0){return}if(!Dc){return}try{if(a.e==1){Gc(a,b);return}try{Ic(a,a.c.i,a.c.j);a.e!=3&&Gc(a,b)}finally{Hc(a)}}finally{Dc=null;Hc(a)}}
function ln(a,b,c){var d,e;b=b>1?b:1;e=a.b.childNodes.length;if(e<b){for(d=e;d<b;++d){Ke(a.b,$doc.createElement(Mt))}}else if(!c&&e>b){for(d=e;d>b;--d){Me(a.b,a.b.lastChild)}}}
function xi(a){Ud.call(this,'One or more exceptions caught, see full set in UmbrellaException#getCauses',a.gb()==0?null:Xi(a.hb(Li(Hj,{58:1,66:1,70:1},69,0,0)),70)[0]);this.b=a}
function li(a,b,c){if(!b){throw new kp('Cannot add a handler with a null type')}if(!c){throw new kp('Cannot add a null handler')}a.c>0?ki(a,new Fo(a,b,c)):mi(a,b,c);return new Do}
function Ki(a,b){var c=new Array(b);if(a==3){for(var d=0;d<b;++d){var e=new Object;e.l=e.m=e.h=0;c[d]=e}}else if(a>0){var e=[null,0,false][a];for(var d=0;d<b;++d){c[d]=e}}return c}
function Jc(b,c,d){var a,e;try{e=new Xc(b,c,d);cq(b.d,d,e)}catch(a){a=Kj(a);if(Zi(a,62)){throw new Ud('dragHandle must implement HasMouseDownHandlers to be draggable')}else throw a}}
function hq(i,a,b){var c=i.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.jb();if(i.ib(a,g)){c.length==1?delete i.b[b]:c.splice(d,1);--i.e;return f.kb()}}}return null}
--></script>
<script><!--
function P(a,b){var c;c=a.o;if(!b){try{!!c&&c.y()&&a.B()}finally{a.o=null}}else{if(c){throw new To('Cannot set a new parent without first clearing the old parent')}a.o=b;b.y()&&a.z()}}
function Qj(a,b){var c,d;c=a.h>>19;d=b.h>>19;return c==0?d!=0||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>=b.l:!(d==0||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<b.l)}
function sc(a,b,c){var d,e,f,g;f=new rd(b,c);for(e=a.c.length-1;e>=0;--e){}for(e=a.c.length-1;e>=0;--e){d=a.c[e];g=d.c;if(g.c<=f.b&&f.b<=g.d&&g.e<=f.c&&f.c<=g.b){return d.b}}return null}
function Yj(a){return $stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date).getTime(),type:'onModuleLoadStart',className:a})}
function $l(b,c){Yl();var a,d,e,f,g;d=null;for(g=b.$();g.cb();){f=Xi(g.db(),54);try{c.bb(f)}catch(a){a=Kj(a);if(Zi(a,69)){e=a;!d&&(d=new Zr);Wr(d,e)}else throw a}}if(d){throw new Zl(d)}}
function H(a,b,c){if(!a){throw new Td('Null widget handle. If you are creating a composite, ensure that initWidget() has been called.')}b=rp(b);if(b.length==0){throw new Qo}c?Ne(a,b):Qe(a,b)}
function xo(a,b){var c;c=new Gp;c.b.b+="<img onload='this.__gwtLastUnhandledEvent=\"load\";' src='";Fp(c,tk(a.b));c.b.b+="' style='";Fp(c,tk(b.b));c.b.b+="' border='0'>";return new ek(c.b.b)}
function fi(b,c){var a,d,e;!c.d||(c.d=false,c.e=null);e=c.e;Gg(c,b.c);try{ni(b.b,c)}catch(a){a=Kj(a);if(Zi(a,57)){d=a;throw new yi(d.b)}else throw a}finally{e==null?(c.d=true,c.e=null):(c.e=e)}}
function Bp(a){var b,c,d,e;b=0;d=a.length;e=d-4;c=0;while(c<e){b=a.charCodeAt(c+3)+31*(a.charCodeAt(c+2)+31*(a.charCodeAt(c+1)+31*(a.charCodeAt(c)+31*b)))|0;c+=4}while(c<d){b=b*31+np(a,c++)}return b|0}
function yc(a){var b;this.b=a;b=a.I();if(!b.j){throw new To('Unattached drop target. You must call DragController#unregisterDropController for all drop targets not attached to the DOM.')}this.c=new yd(b)}
function Nm(a,b){this.i=new ql;this.g=$doc.createElement('table');this.d=$doc.createElement('tbody');Ke(this.g,En(this.d));B(this,this.g);Cm(this,new hn(this));Dm(this,new mn(this));Lm(this,b);Mm(this,a)}
function Jr(a,b,c,d,e){var f,g,i,j;f=d-c;if(f<7){Gr(b,c,d);return}i=c+e;g=d+e;j=i+(g-i>>1);Jr(b,a,i,j,-e);Jr(b,a,j,g,-e);if(Xi(a[j-1],60).cT(a[j])<=0){while(c<d){Pi(b,c++,a[i++])}return}Hr(a,i,j,g,b,c,d)}
function dq(k,a,b,c){var d=k.b[c];if(d){for(var e=0,f=d.length;e<f;++e){var g=d[e];var i=g.jb();if(k.ib(a,i)){var j=g.kb();g.lb(b);return j}}}else{d=k.b[c]=[]}var g=new ds(a,b);d.push(g);++k.e;return null}
function Qn(a){Mn();var b,c;c=Xi(Zp(Kn,a),50);b=null;if(a!=null){if(!(b=gf($doc,a))){return null}}if(c){if(!b||c.p==b){return c}}Kn.e==0&&Lk(new Wn);!b?(c=new Yn):(c=new Nn(b));cq(Kn,a,c);Wr(Ln,c);return c}
function df(a){var b,c;if(!(b=ff(),b!=-1&&b>=1009000)&&(c=a.ownerDocument.defaultView.getComputedStyle(a,null),c.direction==Ss)){return (a.scrollLeft||0)-((a.scrollWidth||0)-a.clientWidth)}return a.scrollLeft||0}
function Zb(a,b){var c,d;for(d=new Zq(a.e);d.c<d.e.gb();){c=Xi(Xq(d),10);c.b=b.c-a.j+c.g;c.c=b.d-a.k+c.i;c.b=fp(0,gp(c.b,a.i-c.e));c.c=fp(0,gp(c.c,a.g-c.d));Ml(a.f,c.f,c.b,c.c)}Ue(Xi(qr(a.e,a.e.c-1),10).f.p);Wb(a)}
function lc(a,b,c){this.d=new Ol;E(this.d,'chesssquarediv'+((a.b%2+b.b%2)%2==0?'white':'black'));if(c!=null){this.c=c;this.b=new rn('gfx/'+this.c+'.png',0,0,112,112);Ll(this.d,this.b)}this.f=a;this.e=b;Z(this,this.d)}
function Md(b){try{var c=$doc.defaultView.getComputedStyle(b,null);var d=c.getPropertyValue('border-top-width');return d.indexOf(qs)==-1?0:parseInt(d.substr(0,d.length-2))}catch(a){throw new Error('getBorderTop: '+a)}}
function Ld(b){try{var c=$doc.defaultView.getComputedStyle(b,null);var d=c.getPropertyValue('border-left-width');return d.indexOf(qs)==-1?0:parseInt(d.substr(0,d.length-2))}catch(a){throw new Error('getBorderLeft exception:\n'+a)}}
function af(a,b){if(Element.prototype.getBoundingClientRect){return b.getBoundingClientRect().top+a.scrollTop|0}else{var c=b.ownerDocument;return c.getBoxObjectFor(b).screenY-c.getBoxObjectFor(c.documentElement).screenY}}
function $e(a,b){if(Element.prototype.getBoundingClientRect){return b.getBoundingClientRect().left+a.scrollLeft|0}else{var c=b.ownerDocument;return c.getBoxObjectFor(b).screenX-c.getBoxObjectFor(c.documentElement).screenX}}
function K(a){var b;if(a.y()){throw new To("Should only call onAttach when the widget is detached from the browser's document")}a.j=true;$k(a.p,a);b=a.k;a.k=-1;b>0&&(a.k==-1?ll(a.p,b|(a.p.__eventBits||0)):(a.k|=b));a.v();a.C()}
function tk(a){sk();a.indexOf(ct)!=-1&&(a=Zj(nk,a,'&amp;'));a.indexOf(ft)!=-1&&(a=Zj(pk,a,'&lt;'));a.indexOf(et)!=-1&&(a=Zj(ok,a,'&gt;'));a.indexOf(ht)!=-1&&(a=Zj(qk,a,'&quot;'));a.indexOf(gt)!=-1&&(a=Zj(rk,a,'&#39;'));return a}
function Om(a,b,c){var d=$doc.createElement(Jt);d.innerHTML=Kt;var e=$doc.createElement('tr');for(var f=0;f<c;f++){var g=d.cloneNode(true);e.appendChild(g)}a.appendChild(e);for(var i=1;i<b;i++){a.appendChild(e.cloneNode(true))}}
function ff(){var a=/rv:([0-9]+)\.([0-9]+)(\.([0-9]+))?.*?/.exec(navigator.userAgent.toLowerCase());if(a&&a.length>=3){var b=parseInt(a[1])*1000000+parseInt(a[2])*1000+parseInt(a.length>=5&&!isNaN(a[4])?a[4]:0);return b}return -1}
function nc(a,b,c){var d;d=false;op(a,xs)?(d=b.b*c.b==0):op(a,ys)?(d=ep(b.b*c.b)==2):op(a,ws)?(d=ep(b.b)==ep(c.b)):op(a,zs)?(d=ep(b.b)==ep(c.b)||b.b*c.b==0):op(a,As)?(d=ep(b.b)<=1&&ep(c.b)<=1):op(a,Bs)&&(d=b.b==-1&&c.b==0);return d}
function Ne(a,b){var c,d,e,f;b=rp(b);f=a.className;c=f.indexOf(b);while(c!=-1){if(c==0||f.charCodeAt(c-1)==32){d=c+b.length;e=f.length;if(d==e||d<e&&f.charCodeAt(d)==32){break}}c=f.indexOf(b,c+1)}if(c==-1){f.length>0&&(f+=Rs);a.className=f+b}}
function tc(a,b,c){var d,e,f,g,i,j;j=new wr;if(c.f){d=new yd(b);for(g=new Zq(a.b);g.c<g.e.gb();){f=Xi(Xq(g),11);e=new yc(f);i=e.b.I();if(ef(c.f.p,i.p)){continue}kd(e.c,d)&&(Pi(j.b,j.c++,e),true)}}a.c=Xi(vr(j,Li(xj,{6:1,58:1,66:1},5,j.c,0)),6);Kr(a.c)}
function io(a,b,c){var d,e;if(c<0||c>a.d){throw new Vo}if(a.d==a.b.length){e=Li(Cj,{26:1,29:1,38:1,43:1,49:1,53:1,55:1,58:1,66:1},54,a.b.length*2,0);for(d=0;d<a.b.length;++d){Pi(e,d,a.b[d])}a.b=e}++a.d;for(d=a.d-1;d>c;--d){Pi(a.b,d,a.b[d-1])}Pi(a.b,c,b)}
function Bo(a){var b=$doc.createElement(Dt);b.tabIndex=0;var c=$doc.createElement('input');c.type='text';c.tabIndex=-1;var d=c.style;d.opacity=0;d.height=Ot;d.width=Ot;d.zIndex=-1;d.overflow=Et;d.position=Ct;c.addEventListener(ot,a,false);b.appendChild(c);return b}
function og(){ng();var a,b,c;c=null;if(mg.length!=0){a=mg.join(ts);b=zg((vg(),ug),a);!mg&&(c=b);mg.length=0}if(kg.length!=0){a=kg.join(ts);b=yg((vg(),ug),a);!kg&&(c=b);kg.length=0}if(lg.length!=0){a=lg.join(ts);b=yg((vg(),ug),a);!lg&&(c=b);lg.length=0}jg=false;return c}
function re(a){var b,c,d,e,f,g;d=a.length;if(d==0){return null}b=false;f=Qd();while(Qd()-f<100){for(c=0;c<d;++c){g=a[c];if(!g){continue}if(!g[0].T()){a[c]=null;b=true}}}if(b){e=[];for(c=0;c<d;++c){!!a[c]&&(e[e.length]=a[c],undefined)}return e.length==0?null:e}else{return a}}
function An(a,b,c,d,e,f){var g,i;zn();O(a,(g=$doc.createElement(Lt),Re(g,(i='width: '+e+'px; height: '+f+'px; background: url('+b.b+') no-repeat '+-c+'px '+-d+'px;',!uo&&(uo=new yo),xo(to,new _j(i))).b),Se(g)));a.k==-1?ll(a.p,133333119|(a.p.__eventBits||0)):(a.k|=133333119)}
function Mc(a,b){var c,d,e,f,g,i;if(Ec){return}f=Xi(b.e,54);d=f.p;g=Wg(b,d);i=Xg(b,d);c=We(b.b);if(c!=1){return}if(!Dc){return}try{vd();Kd();if(a.e==1){Gc(a,b);return}if(f!=a.b){e=new Cd(f,null);g+=e.b;i+=e.e}try{Ic(a,g,i);a.e!=3&&Gc(a,b)}finally{Hc(a)}}finally{Dc=null;Hc(a)}}
function yb(a){var b,c,d;for(d=new Zq(a.r.k);d.c<d.e.gb();){c=Xi(Xq(d),54);b=Xi(Zp(a.o,c),8);if(Zi(b.d,39)){Ml(Xi(b.d,39),c,b.e.b,b.e.e)}else if(Zi(b.d,45)){Xi(b.d,45)._(c,b.b)}else if(Zi(b.d,51)){mm(Xi(b.d,51),c)}else{throw new Td('Unable to handle initialDraggableParent '+b.d.x().b)}}}
function Xb(a){var b,c,d,e;e=new nm;H(e.p,'dragdrop-positioner',true);e.p.style[Js]=Ks;Ml((Mn(),Qn(null)),e,-500,-500);mm(e,Ub);b=new nm;b.p.style[Js]=Ks;b.p.style['border']=Ms;d=Oe(a.p,Hs)-(vd(),Oe(e.p,Hs)-Od(e.p));c=Oe(a.p,Is)-(Oe(e.p,Is)-Nd(e.p));d>=0&&Fk(b.p,ps,d+qs);c>=0&&Fk(b.p,rs,c+qs);mm(e,b);return e}
function Qe(a,b){var c,d,e,f,g,i,j;b=rp(b);j=a.className;e=j.indexOf(b);while(e!=-1){if(e==0||j.charCodeAt(e-1)==32){f=e+b.length;g=j.length;if(f==g||f<g&&j.charCodeAt(f)==32){break}}e=j.indexOf(b,e+1)}if(e!=-1){c=rp(j.substr(0,e-0));d=rp(qp(j,e+b.length));c.length==0?(i=d):d.length==0?(i=c):(i=c+Rs+d);a.className=i}}
function ni(b,c){var a,d,e,f,g,i;if(!c){throw new kp('Cannot fire null event')}try{++b.c;g=pi(b,c.V());d=null;i=b.d?g.pb(g.gb()):g.ob();while(b.d?i.c>0:i.c<i.e.gb()){f=b.d?br(i):Xq(i);try{c.U(Xi(f,27))}catch(a){a=Kj(a);if(Zi(a,69)){e=a;!d&&(d=new Zr);Wr(d,e)}else throw a}}if(d){throw new xi(d)}}finally{--b.c;b.c==0&&ri(b)}}
function ul(){var d=$wnd.onbeforeunload;var e=$wnd.onunload;$wnd.onbeforeunload=function(a){var b,c;try{b=ns(Ok)()}finally{c=d&&d(a)}if(b!=null){return b}if(c!=null){return c}};$wnd.onunload=ns(function(a){try{Jk&&bi((!Kk&&(Kk=new Wk),Kk))}finally{e&&e(a);$wnd.onresize=null;$wnd.onscroll=null;$wnd.onbeforeunload=null;$wnd.onunload=null}})}
function Lc(a,b){var c,d,e,f,g;if(Ec){return}e=Xi(b.e,54);c=e.p;f=Wg(b,c);g=Xg(b,c);if(a.e==3||a.e==2){if(e!=a.b){return}a.e=3}else{if(Dc){if(fp(ep(f-a.i),ep(g-a.j))>=a.c.e.s){vd();Kd();rr(a.c.k,a.c.f,0)!=-1||pb(a.c.e,a.c.f);d=new Cd(Dc,null);a.c.i=a.f+d.b;a.c.j=a.g+d.e;Rc(a)}else{b.b.preventDefault()}}if(a.e==1){return}}b.b.preventDefault();Fc(a,f,g)}
function Lm(a,b){var c,d,e,f,g,i,j;if(a.b==b){return}if(b<0){throw new Wo('Cannot set number of columns to '+b)}if(a.b>b){for(c=0;c<a.c;++c){for(d=a.b-1;d>=b;--d){wm(a,c,d);e=ym(a,c,d,false);f=nn(a.d,c);f.removeChild(e)}}}else{for(c=0;c<a.c;++c){for(d=a.b;d<b;++d){i=nn(a.d,c);g=(j=$doc.createElement(Jt),Re(j,Kt),j);hl(i,En(g),d)}}}a.b=b;ln(a.f,b,false)}
function Sc(a){var b;this.d=new Ur;this.c=a;this.b=new sm;I(this.b,this,(gh(),gh(),fh));I(this.b,this,(nh(),nh(),mh));I(this.b,this,(Nh(),Nh(),Mh));I(this.b,this,(Gh(),Gh(),Fh));I(this.b,this,(zh(),zh(),yh));b=this.b.p.style;b['filter']='alpha(opacity=0)';b.opacity=0;b['zIndex']='1000';b[Js]=0+(Rf(),qs);b['borderStyle']=(wf(),Ms);b['backgroundColor']='blue'}
function kl(){$wnd.addEventListener(tt,ns(function(a){var b=al;if(b&&!a.relatedTarget){if('html'==a.target.tagName.toLowerCase()){var c=$doc.createEvent('MouseEvents');c.initMouseEvent(Ws,true,true,$wnd,0,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,a.button,null);b.dispatchEvent(c)}}}),true);$wnd.addEventListener(vt,cl,true)}
function yd(a){var b,c,d,e,f,g;md(this,Ze(a.p));od(this,_e(a.p));nd(this,this.c+Oe(a.p,Hs));ld(this,this.e+Oe(a.p,Is));c=a.p.offsetParent;while(!!c&&!!(e=c.offsetParent)){if(!op(Gs,(vd(),Gd(ud,c,Fs)))){d=Ze(c);this.c<d&&(this.c=d);g=_e(c);this.e<g&&(this.e=g);b=g+(c.offsetHeight||0);this.b>b&&ld(this,fp(this.e,b));f=d+(c.offsetWidth||0);this.d>f&&nd(this,fp(this.c,f))}c=e}}
function Oc(a,b){var c,d,e,f,g;if(b.b.touches.length!=1){return}b.b.preventDefault();e=Xi(b.e,54);c=e.p;f=Bg(b.b.touches[0],c);g=Cg(b.b.touches[0],c);if(a.e==3||a.e==2){a.e=3}else{if(Dc){if(fp(ep(f-a.f),ep(g-a.g))>=a.c.e.s){rr(a.c.k,a.c.f,0)!=-1||pb(a.c.e,a.c.f);d=new Cd(Dc,null);a.c.i=a.f+d.b;a.c.j=a.g+d.e;f+=d.b;g+=d.e;Rc(a)}else{b.b.preventDefault()}}if(a.e==1){return}}b.b.preventDefault();Fc(a,f,g)}
function Oj(a){var b,c,d,e,f,g,i,j;if(isNaN(a)){return Vj(),Uj}if(a<-9223372036854775808){return Vj(),Tj}if(a>=9223372036854775807){return Vj(),Sj}e=false;if(a<0){e=true;a=-a}d=0;if(a>=17592186044416){d=bj(a/17592186044416);a-=d*17592186044416}c=0;if(a>=4194304){c=bj(a/4194304);a-=c*4194304}b=bj(a);f=Mj(b,c,d);e&&(g=~f.l+1&4194303,i=~f.m+(g==0?1:0)&4194303,j=~f.h+(g==0&&i==0?1:0)&1048575,f.l=g,f.m=i,f.h=j,undefined);return f}
function il(a,b){switch(b){case 'drag':a.ondrag=el;break;case 'dragend':a.ondragend=el;break;case 'dragenter':a.ondragenter=dl;break;case it:a.ondragleave=el;break;case 'dragover':a.ondragover=dl;break;case 'dragstart':a.ondragstart=el;break;case 'drop':a.ondrop=el;break;case 'canplaythrough':case 'ended':case 'progress':a.removeEventListener(b,el,false);a.addEventListener(b,el,false);break;default:throw 'Trying to sink unknown event type '+b;}}
function Pc(a,b){var c,d,e,f,g;Ec=true;if(b.b.touches.length!=1){return}if(Dc){return}b.b.preventDefault();e=Xi(b.e,54);f=Bg(b.b.touches[0],b.c);g=Cg(b.b.touches[0],b.c);Dc=e;a.c.f=Xi(Zp(a.d,Dc),7).b;nb(a.c.e);pb(a.c.e,a.c.f);b.b.preventDefault();a.f=f;a.g=g;c=new Cd(Dc,null);if(Dc!=a.c.f){d=new Cd(a.c.f,null);a.f+=c.b-d.b;a.g+=c.e-d.e}if(a.c.e.s==0&&!(!!b.b.ctrlKey||!!b.b.metaKey)){a.c.i=f+c.b;a.c.j=g+c.e;Rc(a);if(a.e==1){return}Fc(a,a.c.i,a.c.j)}else{Qc(a)}}
function Ab(a){var b,c,d;a.o=new Ur;for(d=new Zq(a.r.k);d.c<d.e.gb();){c=Xi(Xq(d),54);b=new Zc;b.d=c.o;if(Zi(b.d,39)){b.e=new Cd(c,b.d)}else if(Zi(b.d,45)){b.b=Xi(b.d,45).Z(c)}else if(Zi(b.d,51));else{throw new Td("Unable to handle 'initialDraggableParent instanceof "+b.d.x().b+"'; Please create your own "+fj.b+' and override saveSelectedWidgetsLocationAndStyle(), restoreSelectedWidgetsLocation() and restoreSelectedWidgetsStyle()')}b.c=c.p.style[Js];c.p.style[Js]=Ks;cq(a.o,c,b)}}
function fb(a){var b,c,d,e,f,g;if(a.e){c=new Nm(hp(~~(a.e.c/2))+1,2);for(d=0;d<a.e.c;++d){e=new Nm(1,2);b=Xi(qr(a.e,d),2);g=new rn('http://upload.wikimedia.org/wikipedia/commons/b/b5/Chess_symbols.PNG',Xi(Zp(a.f,b.b),64)[0].b*62+15,Xi(Zp(a.f,b.b),64)[1].b+10,55,43);f=new Ym(wp(97+b.c.b&65535)+ts+(8-b.d.b));f.p[ss]='chessmovelabel';Em(e,0,0,g);Em(e,0,1,f);Math.round(~~(d/2));gm(f.b);e.p[ss]=us;Em(c,Math.round(~~(d/2)),d%2,e)}}else{c=new Nm(8,2)}c.p[ss]='chessmovestable';yl(Qn(vs));Ll(Qn(vs),c)}
function Kc(a,b){var c,d,e,f,g,i;if(Ec){return}if(a.e==3||a.e==2){return}f=Xi(b.e,54);g=Yg(b);i=Zg(b);c=We(b.b);if(c!=1){return}if(Dc){return}Dc=f;a.c.f=Xi(Zp(a.d,Dc),7).b;if(!(!!b.b.ctrlKey||!!b.b.metaKey)&&rr(a.c.k,a.c.f,0)==-1){nb(a.c.e);pb(a.c.e,a.c.f)}me((ge(),fe),new Uc);b.b.preventDefault();a.f=g;a.g=i;d=new Cd(Dc,null);if(Dc!=a.c.f){e=new Cd(a.c.f,null);a.f+=d.b-e.b;a.g+=d.e-e.e}if(a.c.e.s==0&&!(!!b.b.ctrlKey||!!b.b.metaKey)){a.c.i=g+d.b;a.c.j=i+d.e;Rc(a);if(a.e==1){return}Fc(a,a.c.i,a.c.j)}else{a.i=a.f+d.b;a.j=a.g+d.e;Qc(a)}}
function vb(a){var b,c,d,e,f,g,i,j,k,n;tc(a.f,a.p,a.r);D(a.r.f,Es,true);a.k=Oj(Hp());c=new Cd(a.r.f,a.r.b);Ab(a);b=new Ol;b.p.style[Fs]=Gs;C(b,Oe(a.r.f.p,Hs),Oe(a.r.f.p,Is));Ml(a.r.b,b,c.b,c.e);d=Ze(a.r.f.p);e=_e(a.r.f.p);n=new Ur;for(k=new Zq(a.r.k);k.c<k.e.gb();){j=Xi(Xq(k),54);cq(n,j,new rd(Ze(j.p),_e(j.p)))}a.r.g=wb(a,a.r.i,a.r.j);!!a.r.g&&a.r.g.K(a.r);for(k=new Zq(a.r.k);k.c<k.e.gb();){j=Xi(Xq(k),54);f=Xi(!j?n.c:$p(n,j,~~de(j)),12);g=f.Q()-d;i=f.R()-e;Ml(b,j,g,i)}a.n=b;D(a.n,'dragdrop-movable-panel',true);ub(a);a.j=(vd(),Od(a.p.p));a.i=Nd(a.p.p)}
function Ue(a){var b=a.offsetLeft,c=a.offsetTop;var d=a.offsetWidth,e=a.offsetHeight;if(a.parentNode!=a.offsetParent){b-=a.parentNode.offsetLeft;c-=a.parentNode.offsetTop}var f=a.parentNode;while(f&&f.nodeType==1){b<f.scrollLeft&&(f.scrollLeft=b);b+d>f.scrollLeft+f.clientWidth&&(f.scrollLeft=b+d-f.clientWidth);c<f.scrollTop&&(f.scrollTop=c);c+e>f.scrollTop+f.clientHeight&&(f.scrollTop=c+e-f.clientHeight);var g=f.offsetLeft,i=f.offsetTop;if(f.parentNode!=f.offsetParent){g-=f.parentNode.offsetLeft;i-=f.parentNode.offsetTop}b+=g-f.scrollLeft;c+=i-f.scrollTop;f=f.parentNode}}
function Yk(a){switch(a){case 'blur':return 4096;case 'change':return 1024;case mt:return 1;case nt:return 2;case ot:return 2048;case pt:return 128;case qt:return 256;case rt:return 512;case st:return 32768;case 'losecapture':return 8192;case Us:return 4;case Vs:return 64;case tt:return 32;case ut:return 16;case Ws:return 8;case 'scroll':return 16384;case 'error':return 65536;case vt:case wt:return 131072;case 'contextmenu':return 262144;case 'paste':return 524288;case $s:return 1048576;case Zs:return 2097152;case Ys:return 4194304;case Xs:return 8388608;case xt:return 16777216;case yt:return 33554432;case zt:return 67108864;default:return -1;}}
function Ik(){var c=navigator.userAgent.toLowerCase();var d=function(a){return parseInt(a[1])*1000+parseInt(a[2])};if(function(){return c.indexOf(kt)!=-1}())return kt;if(function(){return c.indexOf('webkit')!=-1||function(){if(c.indexOf('chromeframe')!=-1){return true}if(typeof window['ActiveXObject']!='undefined'){try{var b=new ActiveXObject('ChromeTab.ChromeFrame');if(b){b.registerBhoIfNeeded();return true}}catch(a){}}return false}()}())return 'safari';if(function(){return c.indexOf(lt)!=-1&&$doc.documentMode>=9}())return 'ie9';if(function(){return c.indexOf(lt)!=-1&&$doc.documentMode>=8}())return 'ie8';if(function(){var a=/msie ([0-9]+)\.([0-9]+)/.exec(c);if(a&&a.length==3)return d(a)>=6000}())return 'ie6';if(function(){return c.indexOf('gecko')!=-1}())return bt;return 'unknown'}
function Hk(){var a,b,c;b=$doc.compatMode;a=Oi(Gj,{58:1,66:1},1,[Ts]);for(c=0;c<a.length;++c){if(op(a[c],b)){return}}a.length==1&&op(Ts,a[0])&&op('BackCompat',b)?"GWT no longer supports Quirks Mode (document.compatMode=' BackCompat').<br>Make sure your application's host HTML page has a Standards Mode (document.compatMode=' CSS1Compat') doctype,<br>e.g. by using &lt;!doctype html&gt; at the start of your application's HTML page.<br><br>To continue using this unsupported rendering mode and risk layout problems, suppress this message by adding<br>the following line to your*.gwt.xml module file:<br>&nbsp;&nbsp;&lt;extend-configuration-property name=\"document.compatMode\" value=\""+b+'"/&gt;':"Your *.gwt.xml module configuration prohibits the use of the current doucment rendering mode (document.compatMode=' "+b+"').<br>Modify your application's host HTML page doctype, or update your custom 'document.compatMode' configuration property settings."}
function gl(){bl=ns(function(a){return true});el=ns(function(a){var b,c=this;while(c&&!(b=c.__listener)){c=c.parentNode}c&&c.nodeType!=1&&(c=null);b&&_k(b)&&Bk(a,c,b)});dl=ns(function(a){a.preventDefault();el.call(this,a)});fl=ns(function(a){this.__gwtLastUnhandledEvent=a.type;el.call(this,a)});cl=ns(function(a){var b=bl;if(b(a)){var c=al;if(c&&c.__listener){if(_k(c.__listener)){Bk(a,c,c.__listener);a.stopPropagation()}}}});$wnd.addEventListener(mt,cl,true);$wnd.addEventListener(nt,cl,true);$wnd.addEventListener(Us,cl,true);$wnd.addEventListener(Ws,cl,true);$wnd.addEventListener(Vs,cl,true);$wnd.addEventListener(ut,cl,true);$wnd.addEventListener(tt,cl,true);$wnd.addEventListener(wt,cl,true);$wnd.addEventListener(pt,bl,true);$wnd.addEventListener(rt,bl,true);$wnd.addEventListener(qt,bl,true);$wnd.addEventListener($s,cl,true);$wnd.addEventListener(Zs,cl,true);$wnd.addEventListener(Ys,cl,true);$wnd.addEventListener(Xs,cl,true);$wnd.addEventListener(xt,cl,true);$wnd.addEventListener(yt,cl,true);$wnd.addEventListener(zt,cl,true)}
function jl(a,b){var c=(a.__eventBits||0)^b;a.__eventBits=b;if(!c)return;c&1&&(a.onclick=b&1?el:null);c&2&&(a.ondblclick=b&2?el:null);c&4&&(a.onmousedown=b&4?el:null);c&8&&(a.onmouseup=b&8?el:null);c&16&&(a.onmouseover=b&16?el:null);c&32&&(a.onmouseout=b&32?el:null);c&64&&(a.onmousemove=b&64?el:null);c&128&&(a.onkeydown=b&128?el:null);c&256&&(a.onkeypress=b&256?el:null);c&512&&(a.onkeyup=b&512?el:null);c&1024&&(a.onchange=b&1024?el:null);c&2048&&(a.onfocus=b&2048?el:null);c&4096&&(a.onblur=b&4096?el:null);c&8192&&(a.onlosecapture=b&8192?el:null);c&16384&&(a.onscroll=b&16384?el:null);c&32768&&(a.onload=b&32768?fl:null);c&65536&&(a.onerror=b&65536?el:null);c&131072&&(a.onmousewheel=b&131072?el:null);c&262144&&(a.oncontextmenu=b&262144?el:null);c&524288&&(a.onpaste=b&524288?el:null);c&1048576&&(a.ontouchstart=b&1048576?el:null);c&2097152&&(a.ontouchmove=b&2097152?el:null);c&4194304&&(a.ontouchend=b&4194304?el:null);c&8388608&&(a.ontouchcancel=b&8388608?el:null);c&16777216&&(a.ongesturestart=b&16777216?el:null);c&33554432&&(a.ongesturechange=b&33554432?el:null);c&67108864&&(a.ongestureend=b&67108864?el:null)}
function Jj(){var a;!!$stats&&Yj('com.google.gwt.user.client.UserAgentAsserter');a=Ik();op(bt,a)||($wnd.alert('ERROR: Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (gecko1_8) does not match the runtime user.agent value ('+a+'). Expect more errors.\n'),undefined);!!$stats&&Yj('com.google.gwt.user.client.DocumentModeAsserter');Hk();!!$stats&&Yj('com.allen_sauer.gwt.dnd.client.util.DragEntryPoint');$wnd.$GWT_DND_VERSION='3.1.2';ng();mg.unshift('HTML{margin:0 !important;border:none !important;}.dragdrop-handle{cursor:move;user-select:none;-khtml-user-select:none;-moz-user-select:none;}.dragdrop-draggable{zoom:1;}.dragdrop-dragging{zoom:normal;}.dragdrop-positioner{border:1px dashed #1e90ff;margin:0 !important;zoom:1;z-index:100;}.dragdrop-flow-panel-positioner{color:#1e90ff;display:inline;text-align:center;vertical-align:middle;}.dragdrop-proxy{background-color:#7af;}.dragdrop-selected,.dragdrop-dragging,.dragdrop-proxy{filter:alpha(opacity\\=30);opacity:0.3;}.dragdrop-movable-panel{z-index:200;margin:0 !important;border:none !important;}');pg();!!$stats&&Yj('chess.client.Chess');t(new u)}
function gb(){var a,b,c,d,e,f,g,i,j,k,n,o;this.e=new wr;this.f=new Ur;g=new Nm(2,2);f=new Nm(8,8);this.g=Mi([Ij,wj],[{58:1,66:1},{4:1,26:1,29:1,38:1,41:1,43:1,47:1,49:1,53:1,55:1,58:1,66:1}],[4,3],[8,8],2,0);c=Oi(Gj,{58:1,66:1},1,[ws,'w']);i=new Nm(1,8);for(e=0;e<8;++e){d=new Ym(String.fromCharCode(97+e&65535));d.p[ss]='chessboardlabelcols';Em(i,0,e,d)}i.p[ss]=us;Em(g,1,1,i);j=new Nm(8,1);for(n=0;n<8;++n){d=new Ym(ts+(8-n));d.p[ss]='chessboardlabelrows';Em(j,n,0,d)}j.p[ss]=us;Em(g,0,0,j);for(e=0;e<8;++e){for(n=0;n<8;++n){o=null;for(k=0;k<2;++k){if(n==k*7){if(e%7==0){o=xs;break}if((e-1)%5==0){o=ys;break}if((e-2)%3==0){o=ws;break}if(e==3){o=zs;break}if(e==4){o=As;break}}if(n==1+k*5){o=Bs;break}}o!=null&&(o=c[k]+o);this.g[n][e]=new lc(bp(n),bp(e),o);Em(f,n,e,this.g[n][e])}}f.p[ss]=us;a=new Ol;b=new Ol;Cl(a,f,a.p);Cl(b,a,b.p);this.c=new Gb(this,b);this.d=new fc(this,a);xb(this.c,this.d);b.p.style[ps]=Cs;b.p.style[rs]=Cs;for(e=0;e<8;++e){for(n=6;n<8;++n){ob(this.c,this.g[n][e].b)}}g.p[ss]=us;Em(g,0,1,b);Z(this,g);cq(this.f,'wk',Oi(Dj,{58:1,64:1,66:1},63,[bp(0),bp(0)]));cq(this.f,'wq',Oi(Dj,{58:1,64:1,66:1},63,[bp(1),bp(0)]));cq(this.f,'wr',Oi(Dj,{58:1,64:1,66:1},63,[bp(2),bp(0)]));cq(this.f,'wb',Oi(Dj,{58:1,64:1,66:1},63,[bp(3),bp(0)]));cq(this.f,'wn',Oi(Dj,{58:1,64:1,66:1},63,[bp(4),bp(0)]));cq(this.f,'wp',Oi(Dj,{58:1,64:1,66:1},63,[bp(5),bp(0)]));cq(this.f,'bk',Oi(Dj,{58:1,64:1,66:1},63,[bp(0),bp(22)]));cq(this.f,'bq',Oi(Dj,{58:1,64:1,66:1},63,[bp(1),bp(22)]));cq(this.f,'br',Oi(Dj,{58:1,64:1,66:1},63,[bp(2),bp(22)]));cq(this.f,'bb',Oi(Dj,{58:1,64:1,66:1},63,[bp(3),bp(22)]));cq(this.f,'bn',Oi(Dj,{58:1,64:1,66:1},63,[bp(4),bp(22)]));cq(this.f,'bp',Oi(Dj,{58:1,64:1,66:1},63,[bp(5),bp(22)]))}
var ts='',Rs=' ',ht='"',ct='&',Kt='&nbsp;',gt="'",Ns=', ',Gt=', Column size: ',It=', Row size: ',Ks='0px',Ot='1px',Cs='920px',Pt=':',ft='<',et='>',Ts='CSS1Compat',os='ChessContainer',St='ChessSquare;',Ft='Column index: ',vt='DOMMouseScroll',vs='GameHistoryContainer',Ht='Row index: ',Ut='[Lcom.google.gwt.dom.client.',Tt='[Ljava.lang.',Nt='__gwtLastUnhandledEvent',At='__uiObjectID',Ct='absolute',ws='b',Rt='chess.client.',us='chessboardtable',ss='className',mt='click',Mt='col',Qt='com.google.gwt.user.client.ui.',nt='dblclick',_s='dir',Dt='div',Es='dragdrop-dragging',Ls='dragdrop-dropTarget-engage',Ds='dragdrop-selected',jt='dragexit',it='dragleave',ot='focus',dt='g',bt='gecko1_8',yt='gesturechange',zt='gestureend',xt='gesturestart',Os='hash code not implemented',rs='height',Et='hidden',As='k',pt='keydown',qt='keypress',rt='keyup',Ps='left',st='load',at='ltr',Js='margin',Us='mousedown',Vs='mousemove',tt='mouseout',ut='mouseover',Ws='mouseup',wt='mousewheel',lt='msie',ys='n',Ms='none',Is='offsetHeight',Hs='offsetWidth',kt='opera',Fs='overflow',Bs='p',Bt='position',qs='px',zs='q',xs='r',Ss='rtl',Lt='span',Jt='td',Qs='top',Xs='touchcancel',Ys='touchend',Zs='touchmove',$s='touchstart',Gs='visible',ps='width';var _,ls={l:0,m:0,h:0},ms={l:100,m:0,h:0};_=q.prototype={};_.eQ=function r(a){return this===a};_.hC=function s(){return de(this)};_.tM=ks;_.cM={};_=u.prototype=p.prototype=new q;_.b=null;_=y.prototype=new q;_.u=function G(){return A()};_.cM={42:1,52:1};_.p=null;_=x.prototype=new y;_.v=function R(){};_.w=function S(){};_.x=function T(){return uj};_.y=function U(){return this.j};_.z=function V(){K(this)};_.A=function W(a){L(this,a)};_.B=function X(){M(this)};_.C=function Y(){};_.cM={25:1,28:1,37:1,42:1,48:1,52:1,54:1};_.j=false;_.k=0;_.n=null;_.o=null;_=w.prototype=new x;_.x=function $(){return ij};_.y=function ab(){if(this.i){return this.i.j}return false};_.z=function bb(){if(this.k!=-1){Q(this.i,this.k);this.k=-1}K(this.i);this.p.__listener=this};_.A=function cb(a){L(this,a);L(this.i,a)};_.B=function db(){M(this.i)};_.u=function eb(){B(this,A());return this.p};_.cM={25:1,28:1,37:1,40:1,42:1,46:1,48:1,52:1,54:1};_.i=null;_=gb.prototype=v.prototype=new w;_.x=function hb(){return dj};_.cM={25:1,28:1,37:1,40:1,42:1,46:1,48:1,52:1,54:1};_.b=null;_.c=null;_.d=null;_.g=null;_=kb.prototype=new q;_.D=function qb(){D(this.r.f,Es,false)};_.E=function rb(){this.G();D(this.r.f,Es,true)};_.F=function sb(){};_.G=function tb(){};_.p=null;_.q=false;_.r=null;_.s=0;_.t=null;var lb;_=jb.prototype=new kb;_.D=function Bb(){if(this.r.n){this.r.g.L(this.r);this.r.g=null;yb(this)}else{this.r.g.J(this.r);this.r.g.L(this.r);this.r.g=null}zb(this);N(this.n);this.n=null;D(this.r.f,Es,false)};_.H=function Cb(){var a,b,c,d;d=Oj(Hp());if(Qj(Rj(d,this.k),ms)){this.k=d;tc(this.f,this.p,this.r);ub(this)}a=this.r.c-this.d;b=this.r.d-this.e;if(this.q){a=fp(0,gp(a,this.j-Oe(this.r.f.p,Hs)));b=fp(0,gp(b,this.i-Oe(this.r.f.p,Is)))}wd(this.n.p,a,b);c=wb(this,this.r.i,this.r.j);if(this.r.g!=c){!!this.r.g&&this.r.g.L(this.r);this.r.g=c;!!this.r.g&&this.r.g.K(this.r)}!!this.r.g&&this.r.g.M(this.r)};_.E=function Db(){vb(this)};_.F=function Eb(){var a,b;try{this.r.g.N(this.r)}catch(a){a=Kj(a);if(Zi(a,9)){b=a;throw b}else throw a}};_.G=function Fb(){tc(this.f,this.p,this.r)};_.c=null;_.d=0;_.e=0;_.f=null;_.i=0;_.j=0;_.k=ls;_.n=null;_.o=null;_=Gb.prototype=ib.prototype=new jb;_.E=function Hb(){var a,b;b=this.r;a=Ib(b);this.b.b=this.b.g[a[0]][a[1]];_e(Qn(os).p);Ze(Qn(os).p);vb(this)};_.b=null;_=Nb.prototype=new q;_.I=function Ob(){return this.n};_.J=function Pb(a){};_.K=function Qb(a){D(this.n,Ls,true)};_.L=function Rb(a){D(this.n,Ls,false)};_.M=function Sb(a){};_.N=function Tb(a){};_.cM={11:1};_.n=null;_=Mb.prototype=new Nb;_.cM={11:1};_=Lb.prototype=new Mb;_.O=function _b(a){return Xb(a)};_.J=function ac(a){Yb(this)};_.K=function bc(a){var b,c,d,e,f;H(this.n.p,Ls,true);this.i=(vd(),Od(this.f.p));this.g=Nd(this.f.p);Wb(this);c=Ze(a.f.p);d=_e(a.f.p);for(f=new Zq(a.k);f.c<f.e.gb();){e=Xi(Xq(f),54);b=new ed(e);b.f=this.O(e);b.g=Ze(e.p)-c;b.i=_e(e.p)-d;or(this.e,b)}};_.L=function cc(a){var b,c;for(c=new Zq(this.e);c.c<c.e.gb();){b=Xi(Xq(c),10);N(b.f)}pr(this.e);H(this.n.p,Ls,false)};_.M=function dc(a){Zb(this,a)};_.cM={11:1};_.f=null;_.g=0;_.i=0;_.j=0;_.k=0;var Ub;_=Kb.prototype=new Lb;_.M=function ec(a){var b,c;Zb(this,a);for(c=new Zq(this.e);c.c<c.e.gb();){b=Xi(Xq(c),10);b.b=a.c-this.j+b.g;b.c=a.d-this.k+b.i;b.b=fp(0,gp(b.b,this.i-b.e));b.c=fp(0,gp(b.c,this.g-b.d));b.b=hp(b.b/this.c)*this.c;b.c=hp(b.c/this.d)*this.d;Ml(this.f,b.f,b.b,b.c)}};_.cM={11:1};_.c=0;_.d=0;_=fc.prototype=Jb.prototype=new Kb;_.J=function gc(a){var b;b=Ib(a);this.b.b.f=bp(b[0]);this.b.b.e=bp(b[1]);or(this.b.e,new jc(this.b.b.c,this.b.b.f,this.b.b.e));this.b.b=null;fb(this.b);Yb(this)};_.N=function hc(a){var b,c;b=Ib(a);c=nc(this.b.b.c.substr(1,2-1),bp(b[0]-this.b.b.f.b),bp(b[1]-this.b.b.e.b));if(this.n){_e(Qn(os).p);Ze(Qn(os).p);'isLegalMove('+this.b.b.c.substr(1,2-1)+Ns+(b[0]-this.b.b.f.b)+Ns+(b[1]-this.b.b.e.b)+'): ';nc(this.b.b.c.substr(1,2-1),bp(b[0]-this.b.b.f.b),bp(b[1]-this.b.b.e.b))}if(!c)throw new cd};_.cM={11:1};_.b=null;_=jc.prototype=ic.prototype=new q;_.cM={2:1};_.b=null;_.c=null;_.d=null;_=lc.prototype=kc.prototype=new w;_.x=function mc(){return ej};_.cM={3:1,25:1,28:1,37:1,40:1,42:1,46:1,48:1,52:1,54:1};_.b=null;_.c=null;_.e=null;_.f=null;_=qc.prototype=oc.prototype=new q;_.b=null;_.c=0;_.d=0;_.e=null;_.f=null;_.g=null;_.i=0;_.j=0;_.n=null;_=uc.prototype=rc.prototype=new q;_.b=null;_.c=null;_=yc.prototype=vc.prototype=new q;_.cT=function zc(a){return xc(this,Xi(a,5))};_.eQ=function Ac(a){throw new Td(Os)};_.hC=function Bc(){throw new Td(Os)};_.cM={5:1,60:1};_.b=null;_.c=null;_=Sc.prototype=Cc.prototype=new q;_.cM={17:1,18:1,19:1,20:1,21:1,22:1,23:1,27:1};_.b=null;_.c=null;_.e=1;_.f=0;_.g=0;_.i=0;_.j=0;var Dc=null,Ec=false;_=Uc.prototype=Tc.prototype=new q;_.P=function Vc(){vd();Kd()};_=Xc.prototype=Wc.prototype=new q;_.cM={7:1};_.b=null;_=Zc.prototype=Yc.prototype=new q;_.cM={8:1};_.b=0;_.c=null;_.d=null;_.e=null;_=ad.prototype=new q;_.cM={58:1,69:1};_=_c.prototype=new ad;_.cM={58:1,62:1,69:1};_=cd.prototype=$c.prototype=new _c;_.cM={9:1,58:1,62:1,69:1};_=ed.prototype=dd.prototype=new q;_.cM={10:1};_.b=0;_.c=0;_.d=0;_.e=0;_.f=null;_.g=0;_.i=0;_.j=null;_=gd.prototype=fd.prototype=new Lb;_.O=function hd(a){return this.b?Xb(a):new nm};_.N=function id(a){if(!this.b){throw new cd}};_.cM={11:1};_.b=true;_=jd.prototype=new q;_.b=0;_.c=0;_.d=0;_.e=0;_=pd.prototype=new q;_.cM={12:1};_=rd.prototype=qd.prototype=new pd;_.Q=function sd(){return this.b};_.R=function td(){return this.c};_.cM={12:1};_.b=0;_.c=0;var ud=null;_=yd.prototype=xd.prototype=new jd;_=Cd.prototype=zd.prototype=new pd;_.Q=function Dd(){return this.b};_.R=function Ed(){return this.e};_.cM={12:1};_.b=0;_.c=0;_.d=0;_.e=0;_.f=0;_.g=0;_=Fd.prototype=new q;_.S=function Hd(a,b){if($doc.defaultView&&$doc.defaultView.getComputedStyle){var c=$doc.defaultView.getComputedStyle(a,ts);if(c){return c[b]}}return null};_=Jd.prototype=new Fd;_=Pd.prototype=Id.prototype=new Jd;_=Ud.prototype=Td.prototype=Sd.prototype=new _c;_.cM={58:1,62:1,67:1,69:1};_=Vd.prototype=Rd.prototype=new Sd;
--></script>
<script><!--
_.cM={58:1,62:1,67:1,69:1};_.b=null;_=Yd.prototype=new q;var Zd=0,$d=0;_=oe.prototype=ee.prototype=new Yd;_.b=null;_.c=null;_.d=null;_.e=false;_.f=null;_.g=null;_.i=null;_.j=false;var fe;_=ve.prototype=ue.prototype=new q;_.T=function we(){this.b.e=true;je(this.b);this.b.e=false;return this.b.j=ke(this.b)};_.b=null;_=ye.prototype=xe.prototype=new q;_.T=function ze(){this.b.e&&te(this.b.f,1);return this.b.j};_.b=null;_=Ge.prototype=new q;_=Je.prototype=He.prototype=new Ge;_.b=ts;_=mf.prototype=new q;_.cT=function of(a){return nf(this,Xi(a,61))};_.eQ=function pf(a){return this===a};_.hC=function qf(){return de(this)};_.cM={58:1,60:1,61:1};_.b=0;_=lf.prototype=new mf;_.cM={13:1,14:1,58:1,60:1,61:1};var rf,sf,tf,uf,vf;_=yf.prototype=xf.prototype=new lf;_.cM={13:1,14:1,58:1,60:1,61:1};_=Af.prototype=zf.prototype=new lf;_.cM={13:1,14:1,58:1,60:1,61:1};_=Cf.prototype=Bf.prototype=new lf;_.cM={13:1,14:1,58:1,60:1,61:1};_=Ef.prototype=Df.prototype=new lf;_.cM={13:1,14:1,58:1,60:1,61:1};_=Gf.prototype=Ff.prototype=new lf;_.cM={13:1,14:1,58:1,60:1,61:1};_=Hf.prototype=new mf;_.cM={15:1,58:1,60:1,61:1};var If,Jf,Kf,Lf,Mf,Nf,Of,Pf,Qf;_=Tf.prototype=Sf.prototype=new Hf;_.cM={15:1,58:1,60:1,61:1};_=Vf.prototype=Uf.prototype=new Hf;_.cM={15:1,58:1,60:1,61:1};_=Xf.prototype=Wf.prototype=new Hf;_.cM={15:1,58:1,60:1,61:1};_=Zf.prototype=Yf.prototype=new Hf;_.cM={15:1,58:1,60:1,61:1};_=_f.prototype=$f.prototype=new Hf;_.cM={15:1,58:1,60:1,61:1};_=bg.prototype=ag.prototype=new Hf;_.cM={15:1,58:1,60:1,61:1};_=dg.prototype=cg.prototype=new Hf;_.cM={15:1,58:1,60:1,61:1};_=fg.prototype=eg.prototype=new Hf;_.cM={15:1,58:1,60:1,61:1};_=hg.prototype=gg.prototype=new Hf;_.cM={15:1,58:1,60:1,61:1};var ig,jg=false,kg,lg,mg;_=rg.prototype=qg.prototype=new q;_.P=function sg(){(ng(),jg)&&og()};_=Ag.prototype=tg.prototype=new q;_.b=null;var ug;_=Fg.prototype=new q;_.e=null;_=Eg.prototype=new Fg;_.d=false;_=Dg.prototype=new Eg;_.V=function Lg(){return this.W()};_.b=null;_.c=null;var Hg=null;_=Og.prototype=new q;_.hC=function Qg(){return this.d};_.d=0;var Pg=0;_=Rg.prototype=Ng.prototype=new Og;_=Sg.prototype=Mg.prototype=new Ng;_.cM={16:1};_.b=null;_.c=null;_=Tg.prototype=new Dg;_=Vg.prototype=new Tg;_=bh.prototype=Ug.prototype=new Vg;_.U=function ch(a){ah(this,Xi(a,17))};_.W=function dh(){return $g};var $g;_=ih.prototype=eh.prototype=new Vg;_.U=function jh(a){hh(this,Xi(a,18))};_.W=function kh(){return fh};var fh;_=ph.prototype=lh.prototype=new Vg;_.U=function qh(a){oh(this,Xi(a,19))};_.W=function rh(){return mh};var mh;_=vh.prototype=sh.prototype=new q;_.b=null;_=xh.prototype=new Tg;_=Bh.prototype=wh.prototype=new xh;_.U=function Ch(a){Ah(this,Xi(a,20))};_.W=function Dh(){return yh};var yh;_=Ih.prototype=Eh.prototype=new xh;_.U=function Jh(a){Hh(this,Xi(a,21))};_.W=function Kh(){return Fh};var Fh;_=Ph.prototype=Lh.prototype=new xh;_.U=function Qh(a){Oh(this,Xi(a,22))};_.W=function Rh(){return Mh};var Mh;_=Wh.prototype=Sh.prototype=new xh;_.U=function Xh(a){Vh(this,Xi(a,23))};_.W=function Yh(){return Th};var Th;_=_h.prototype=Zh.prototype=new Eg;_.U=function ai(a){Xi(a,24);Pn()};_.V=function ci(){return $h};var $h=null;_=gi.prototype=di.prototype=new q;_.cM={28:1};_.b=null;_.c=null;_=ji.prototype=new q;_=ii.prototype=new ji;_.b=null;_.c=0;_.d=false;_=si.prototype=hi.prototype=new ii;_=ui.prototype=ti.prototype=new q;_=xi.prototype=wi.prototype=new Sd;_.cM={57:1,58:1,62:1,67:1,69:1};_.b=null;_=yi.prototype=vi.prototype=new wi;_.cM={57:1,58:1,62:1,67:1,69:1};_=Gi.prototype=Bi.prototype=new mf;_.cM={30:1,58:1,60:1,61:1};var Ci,Di,Ei;_=Ii.prototype=Hi.prototype=new q;_.aC=null;_.qI=0;var Qi,Ri;var Nj=null;var Sj,Tj,Uj;_=Xj.prototype=Wj.prototype=new q;_.cM={31:1};_=_j.prototype=$j.prototype=new q;_.eQ=function ak(a){if(!Zi(a,32)){return false}return op(this.b,Xi(Xi(a,32),33).b)};_.hC=function bk(){return Cp(this.b)};_.cM={32:1,33:1,58:1};_.b=null;_=ek.prototype=dk.prototype=new q;_.X=function fk(){return this.b};_.eQ=function gk(a){if(!Zi(a,34)){return false}return op(this.b,Xi(a,34).X())};_.hC=function hk(){return Cp(this.b)};_.cM={34:1,58:1};_.b=null;_=jk.prototype=ik.prototype=new q;_.X=function kk(){return this.b};_.eQ=function lk(a){if(!Zi(a,34)){return false}return op(this.b,Xi(a,34).X())};_.hC=function mk(){return Cp(this.b)};_.cM={34:1,58:1};_.b=null;var nk,ok,pk,qk,rk;_=vk.prototype=uk.prototype=new q;_.eQ=function wk(a){if(!Zi(a,35)){return false}return op(this.b,Xi(Xi(a,35),36).b)};_.hC=function xk(){return Cp(this.b)};_.cM={35:1,36:1};_.b=null;var zk=null,Ak=null;var Jk=false,Kk=null;_=Sk.prototype=Pk.prototype=new Eg;_.U=function Tk(a){cj(a);null.rb()};_.V=function Uk(){return Qk};var Qk;_=Wk.prototype=Vk.prototype=new di;_.cM={28:1};var Xk=false;var al=null,bl=null,cl=null,dl=null,el=null,fl=null;_=ql.prototype=ml.prototype=new q;_.b=null;_=tl.prototype=sl.prototype=new q;_.b=0;_.c=null;_=xl.prototype=new x;_.v=function zl(){$l(this,(Yl(),Wl))};_.w=function Al(){$l(this,(Yl(),Xl))};_.x=function Bl(){return qj};_.cM={25:1,28:1,37:1,42:1,44:1,48:1,52:1,54:1};_=wl.prototype=new xl;_.x=function Hl(){return hj};_.Z=function Il(a){return ho(this.b,a)};_.$=function Jl(){return new qo(this.b)};_.Y=function Kl(a){return Gl(this,a)};_.cM={25:1,28:1,37:1,42:1,44:1,48:1,52:1,54:1};_=Ol.prototype=vl.prototype=new wl;_.x=function Rl(){return gj};_._=function Sl(a,b){Fl(this,a,this.p,b)};_.Y=function Tl(a){var b;b=Gl(this,a);b&&Ql(a.p);return b};_.ab=function Ul(a,b,c){Nl(a,b,c)};_.cM={25:1,28:1,37:1,39:1,42:1,44:1,45:1,48:1,52:1,54:1};_=Zl.prototype=Vl.prototype=new vi;_.cM={57:1,58:1,62:1,67:1,69:1};var Wl,Xl;_=am.prototype=_l.prototype=new q;_.bb=function bm(a){a.z()};_=dm.prototype=cm.prototype=new q;_.bb=function em(a){a.B()};_=im.prototype=fm.prototype=new q;_.b=null;_.c=null;_.d=false;_.e=null;_=nm.prototype=km.prototype=new xl;_.x=function pm(){return tj};_.$=function qm(){return new bo(this)};_.Y=function rm(a){return lm(this,a)};_.cM={25:1,28:1,37:1,42:1,44:1,48:1,51:1,52:1,54:1};_.b=null;_=sm.prototype=jm.prototype=new km;_.x=function tm(){return jj};_.cM={25:1,28:1,37:1,42:1,44:1,48:1,51:1,52:1,54:1};_=vm.prototype=new xl;_.x=function Fm(){return lj};_.$=function Gm(){return new bn(this)};_.Y=function Hm(a){return Am(this,a)};_.cM={25:1,28:1,37:1,42:1,44:1,48:1,52:1,54:1};_.d=null;_.e=null;_.f=null;_.g=null;_=Nm.prototype=um.prototype=new vm;_.x=function Pm(){return kj};_.cM={25:1,28:1,37:1,42:1,44:1,48:1,52:1,54:1};_.b=0;_.c=0;_=Sm.prototype=new x;_.x=function Um(){return oj};_.cM={25:1,28:1,37:1,42:1,48:1,52:1,54:1};_.b=null;_=Vm.prototype=Rm.prototype=new Sm;_.x=function Xm(){return pj};_.cM={25:1,28:1,37:1,42:1,48:1,52:1,54:1};_=Ym.prototype=Qm.prototype=new Rm;_.x=function Zm(){return mj};_.cM={25:1,28:1,37:1,42:1,48:1,52:1,54:1};_=bn.prototype=$m.prototype=new q;_.cb=function cn(){return this.b<this.d.c};_.db=function dn(){return an(this)};_.b=-1;_.c=null;_=hn.prototype=en.prototype=new q;_.b=null;_=mn.prototype=jn.prototype=new q;_.b=null;_.c=null;_=rn.prototype=on.prototype=new x;_.x=function tn(){return nj};_.A=function un(a){Yk(a.type)==32768&&!!this.b&&(this.p[Nt]=ts,undefined);L(this,a)};_.C=function vn(){yn(this.b,this)};_.cM={25:1,28:1,37:1,42:1,48:1,52:1,54:1};_.b=null;_=xn.prototype=new q;_.b=null;_=An.prototype=wn.prototype=new xn;_=Cn.prototype=Bn.prototype=new q;_.P=function Dn(){var a,b;if(this.c.b!=this.b||this!=this.b.b){return}this.b.b=null;if(!this.c.j){this.c.p[Nt]=st;return}a=(b=$doc.createEvent('HTMLEvents'),b.initEvent(st,false,false),b);Ve(this.c.p,a)};_.b=null;_.c=null;_=Nn.prototype=In.prototype=new vl;_.x=function Rn(){return sj};_.cM={25:1,28:1,37:1,39:1,42:1,44:1,45:1,48:1,50:1,52:1,54:1};var Jn,Kn,Ln;_=Tn.prototype=Sn.prototype=new q;_.bb=function Un(a){a.y()&&a.B()};_=Wn.prototype=Vn.prototype=new q;_.cM={24:1,27:1};_=Yn.prototype=Xn.prototype=new In;_.x=function Zn(){return rj};_.ab=function $n(a,b,c){b-=bf($doc);c-=cf($doc);Nl(a,b,c)};_.cM={25:1,28:1,37:1,39:1,42:1,44:1,45:1,48:1,50:1,52:1,54:1};_=bo.prototype=_n.prototype=new q;_.cb=function co(){return this.b};_.db=function eo(){return ao(this)};_.c=null;_=lo.prototype=fo.prototype=new q;_.$=function mo(){return new qo(this)};_.b=null;_.c=null;_.d=0;_=qo.prototype=no.prototype=new q;_.cb=function ro(){return this.b<this.c.d-1};_.db=function so(){return oo(this)};_.b=-1;_.c=null;var to,uo=null;_=yo.prototype=wo.prototype=new q;var zo=null;_=Do.prototype=Co.prototype=new q;_=Fo.prototype=Eo.prototype=new q;_.cM={56:1};_.b=null;_.c=null;_.d=null;_=Ho.prototype=Go.prototype=new Sd;_.cM={58:1,62:1,67:1,69:1};_=Jo.prototype=Io.prototype=new q;_.b=null;_=No.prototype=Mo.prototype=new Sd;_.cM={58:1,62:1,67:1,69:1};_=Oo.prototype=new q;_.cM={58:1,65:1};_=Qo.prototype=Po.prototype=new Sd;_.cM={58:1,62:1,67:1,69:1};_=To.prototype=So.prototype=Ro.prototype=new Sd;_.cM={58:1,62:1,67:1,69:1};_=Wo.prototype=Vo.prototype=Uo.prototype=new Sd;_.cM={58:1,62:1,67:1,69:1};_=Zo.prototype=Xo.prototype=new Oo;_.cT=function $o(a){return Yo(this,Xi(a,63))};_.eQ=function _o(a){return Zi(a,63)&&Xi(a,63).b==this.b};_.hC=function ap(){return this.b};_.cM={58:1,60:1,63:1,65:1};_.b=0;var cp;_=kp.prototype=jp.prototype=ip.prototype=new Sd;_.cM={58:1,62:1,67:1,69:1};_=mp.prototype=lp.prototype=new q;_.cM={58:1,68:1};_=String.prototype;_.cT=function tp(a){return sp(this,Xi(a,1))};_.eQ=function up(a){return op(this,a)};_.hC=function vp(){return Cp(this)};_.cM={1:1,58:1,59:1,60:1};var xp,yp=0,zp;_=Gp.prototype=Ep.prototype=new q;_.cM={59:1};_=Kp.prototype=Jp.prototype=Ip.prototype=new Sd;_.cM={58:1,62:1,67:1,69:1};_=Lp.prototype=new q;_.eb=function Np(a){throw new Kp('Add not supported on this collection')};_.fb=function Op(a){var b;b=Mp(this.$(),a);return !!b};_.hb=function Pp(a){var b,c,d;d=this.gb();a.length<d&&(a=Ji(a,d));c=this.$();for(b=0;b<d;++b){Pi(a,b,c.db())}a.length>d&&Pi(a,d,null);return a};_=Rp.prototype=new q;_.eQ=function Tp(a){var b,c,d,e,f;if(a===this){return true}if(!Zi(a,72)){return false}e=Xi(a,72);if(this.e!=e.e){return false}for(c=new uq((new pq(e)).b);Wq(c.b);){b=Xi(Xq(c.b),73);d=b.jb();f=b.kb();if(!(d==null?this.d:Zi(d,1)?Pt+Xi(d,1) in this.f:aq(this,d,~~Xd(d)))){return false}if(!js(f,d==null?this.c:Zi(d,1)?_p(this,Xi(d,1)):$p(this,d,~~Xd(d)))){return false}}return true};_.hC=function Up(){var a,b,c;c=0;for(b=new uq((new pq(this)).b);Wq(b.b);){a=Xi(Xq(b.b),73);c+=a.hC();c=~~c}return c};_.cM={72:1};_=Qp.prototype=new Rp;_.ib=function jq(a,b){return aj(a)===aj(b)||a!=null&&Wd(a,b)};_.cM={72:1};_.b=null;_.c=null;_.d=false;_.e=0;_.f=null;_=lq.prototype=new Lp;_.eQ=function mq(a){var b,c,d;if(a===this){return true}if(!Zi(a,74)){return false}c=Xi(a,74);if(c.gb()!=this.gb()){return false}for(b=c.$();b.cb();){d=b.db();if(!this.fb(d)){return false}}return true};_.hC=function nq(){var a,b,c;a=0;for(b=this.$();b.cb();){c=b.db();if(c!=null){a+=Xd(c);a=~~a}}return a};_.cM={74:1};_=pq.prototype=kq.prototype=new lq;_.fb=function qq(a){return oq(this,a)};_.$=function rq(){return new uq(this.b)};_.gb=function sq(){return this.b.e};_.cM={74:1};_.b=null;_=uq.prototype=tq.prototype=new q;_.cb=function vq(){return Wq(this.b)};_.db=function wq(){return Xi(Xq(this.b),73)};_.b=null;_=yq.prototype=new q;_.eQ=function zq(a){var b;if(Zi(a,73)){b=Xi(a,73);if(js(this.jb(),b.jb())&&js(this.kb(),b.kb())){return true}}return false};_.hC=function Aq(){var a,b;a=0;b=0;this.jb()!=null&&(a=Xd(this.jb()));this.kb()!=null&&(b=Xd(this.kb()));return a^b};_.cM={73:1};_=Bq.prototype=xq.prototype=new yq;_.jb=function Cq(){return null};_.kb=function Dq(){return this.b.c};_.lb=function Eq(a){return eq(this.b,a)};_.cM={73:1};_.b=null;_=Gq.prototype=Fq.prototype=new yq;_.jb=function Hq(){return this.b};_.kb=function Iq(){return _p(this.c,this.b)};_.lb=function Jq(a){return fq(this.c,this.b,a)};_.cM={73:1};_.b=null;_.c=null;_=Kq.prototype=new Lp;_.eb=function Lq(a){this.mb(this.gb(),a);return true};_.mb=function Mq(a,b){throw new Kp('Add not supported on this list')};_.eQ=function Oq(a){var b,c,d,e,f;if(a===this){return true}if(!Zi(a,71)){return false}f=Xi(a,71);if(this.gb()!=f.gb()){return false}d=new Zq(this);e=f.$();while(d.c<d.e.gb()){b=Xq(d);c=Xq(e);if(!(b==null?c==null:Wd(b,c))){return false}}return true};_.hC=function Pq(){var a,b,c;b=1;a=new Zq(this);while(a.c<a.e.gb()){c=Xq(a);b=31*b+(c==null?0:Xd(c));b=~~b}return b};_.$=function Rq(){return new Zq(this)};_.ob=function Sq(){return new cr(this,0)};_.pb=function Tq(a){return new cr(this,a)};_.qb=function Uq(a){throw new Kp('Remove not supported on this list')};_.cM={71:1};_=Zq.prototype=Vq.prototype=new q;_.cb=function $q(){return Wq(this)};_.db=function _q(){return Xq(this)};_.c=0;_.d=-1;_.e=null;_=cr.prototype=ar.prototype=new Vq;_.b=null;_=fr.prototype=dr.prototype=new lq;_.fb=function gr(a){return Yp(this.b,a)};_.$=function hr(){return er(this)};_.gb=function ir(){return this.c.b.e};_.cM={74:1};_.b=null;_.c=null;_=kr.prototype=jr.prototype=new q;_.cb=function lr(){return Wq(this.b.b)};_.db=function mr(){var a;a=Xi(Xq(this.b.b),73);return a.jb()};_.b=null;_=wr.prototype=nr.prototype=new Kq;_.eb=function xr(a){return or(this,a)};_.mb=function yr(a,b){(a<0||a>this.c)&&Qq(a,this.c);Er(this.b,a,0,b);++this.c};_.fb=function zr(a){return rr(this,a,0)!=-1};_.nb=function Ar(a){return qr(this,a)};_.qb=function Br(a){return sr(this,a)};_.gb=function Cr(){return this.c};_.hb=function Fr(a){return vr(this,a)};_.cM={58:1,71:1};_.c=0;var Lr;_=Or.prototype=Nr.prototype=new Kq;_.fb=function Pr(a){return false};_.nb=function Qr(a){throw new Vo};_.gb=function Rr(){return 0};_.cM={58:1,71:1};_=Ur.prototype=Sr.prototype=new Qp;_.cM={58:1,72:1};_=Zr.prototype=Vr.prototype=new lq;_.eb=function $r(a){return Wr(this,a)};_.fb=function _r(a){return Yp(this.b,a)};_.$=function as(){return er(Sp(this.b))};_.gb=function bs(){return this.b.e};_.cM={58:1,74:1};_.b=null;_=ds.prototype=cs.prototype=new yq;_.jb=function es(){return this.b};_.kb=function fs(){return this.c};_.lb=function gs(a){var b;b=this.c;this.c=a;return b};_.cM={73:1};_.b=null;_.c=null;_=is.prototype=hs.prototype=new Sd;_.cM={58:1,62:1,67:1,69:1};var ns=be;var uj=Lo(Qt,'Widget'),ij=Lo(Qt,'Composite'),dj=Lo(Rt,'ChessBoard'),ej=Lo(Rt,'ChessSquare'),wj=Ko('[Lchess.client.',St),Ij=Ko('[[Lchess.client.',St),Gj=Ko(Tt,'String;'),Dj=Ko(Tt,'Integer;'),fj=Lo('com.allen_sauer.gwt.dnd.client.','PickupDragController'),vj=Ko(ts,'[I'),xj=Ko('[Lcom.allen_sauer.gwt.dnd.client.','DropControllerCollection$Candidate;'),Ej=Ko(Tt,'Object;'),Fj=Ko(Tt,'StackTraceElement;'),yj=Ko(Ut,'Style$BorderStyle;'),zj=Ko(Ut,'Style$Unit;'),Aj=Ko('[Lcom.google.gwt.i18n.client.','HasDirection$Direction;'),Bj=Ko('[Lcom.google.gwt.lang.','LongLibBase$LongEmul;'),qj=Lo(Qt,'Panel'),hj=Lo(Qt,'ComplexPanel'),gj=Lo(Qt,'AbsolutePanel'),tj=Lo(Qt,'SimplePanel'),Cj=Ko('[Lcom.google.gwt.user.client.ui.','Widget;'),jj=Lo(Qt,'FocusPanel'),lj=Lo(Qt,'HTMLTable'),kj=Lo(Qt,'Grid'),oj=Lo(Qt,'LabelBase'),pj=Lo(Qt,'Label'),mj=Lo(Qt,'HTML'),nj=Lo(Qt,'Image'),sj=Lo(Qt,'RootPanel'),rj=Lo(Qt,'RootPanel$DefaultRootPanel'),Hj=Ko(Tt,'Throwable;');$stats && $stats({moduleName:'chess',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});if ($wnd.chess) $wnd.chess.onScriptLoad();
--></script></body></html>